#include "webserver.h"
struct serv_info serv_info; /**< our connection data to the server */
-
+HashList *ServHash = NULL;//// TODO;
/*
* get info about the server we've connected to
*
case 21:
serv_info.serv_fulltext_enabled = atoi(buf);
break;
+ case 22:
+ safestrncpy(serv_info.serv_svn_revision, buf, sizeof serv_info.serv_svn_revision);
+ break;
}
++a;
}
strcpy(buf, &buf[2]);
}
/** Activate embedded URL's */
- url(buf);
+ url(buf, sizeof(buf));
escputs(buf);
wprintf("\n");