add searchpairs

This commit is contained in:
rsc 2007-04-21 20:41:08 +00:00
parent f599f28c33
commit 946b8d7086
2 changed files with 3 additions and 0 deletions

View file

@ -159,6 +159,7 @@ struct HttpReq
char *search; char *search;
int vermaj; int vermaj;
int vermin; int vermin;
HSPairs *searchpairs;
}; };
/* /*

View file

@ -130,6 +130,8 @@ hparsereq(HConnect *c, int timeout)
c->req.uri = uri; c->req.uri = uri;
c->req.search = search; c->req.search = search;
if(search)
c->req.searchpairs = hparsequery(c, hstrdup(c, search));
return 1; return 1;
} }