From 946b8d7086d5e1aa97e19bac52fc1a416a56110e Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 21 Apr 2007 20:41:08 +0000 Subject: add searchpairs --- src/libhttpd/parsereq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/libhttpd/parsereq.c b/src/libhttpd/parsereq.c index ce487c80..862d5338 100644 --- a/src/libhttpd/parsereq.c +++ b/src/libhttpd/parsereq.c @@ -130,6 +130,8 @@ hparsereq(HConnect *c, int timeout) c->req.uri = uri; c->req.search = search; + if(search) + c->req.searchpairs = hparsequery(c, hstrdup(c, search)); return 1; } -- cgit v1.2.3