#include "stg/common.h"
#include "stg/netunit.h"
-#include "stg/request.h"
+
+#include "request.h"
using namespace std;
int ParseReply(void * data, list<string> * ans)
{
int done = 0;
-int len;
parse_depth = 0;
parser = XML_ParserCreate(NULL);
list<string>::iterator n = ans->begin();
while (n != ans->end())
{
- len = strlen(n->c_str());
+ size_t len = strlen(n->c_str());
if (++n == ans->end())
done = 1;