/*
* Collapse multiple cookies on one line
*/
-int req_gets(int sock, char *buf, char *hold, size_t hlen)
+int req_gets(int *sock, char *buf, char *hold, size_t hlen)
{
int a, b;
* transaction.
* \param sock the socket we will put our answer to
*/
-void context_loop(int sock)
+void context_loop(int *sock)
{
struct httprequest *req = NULL;
struct httprequest *last = NULL;
TheSession->urlstrings = NewHash(1,NULL);
TheSession->vars = NewHash(1,NULL);
- TheSession->http_sock = sock;
+ TheSession->http_sock = *sock;
TheSession->lastreq = time(NULL); /* log */
TheSession->gzip_ok = gzip_ok;
#ifdef ENABLE_NLS