diff options
author | rsc <devnull@localhost> | 2007-04-21 20:41:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-21 20:41:08 +0000 |
commit | 946b8d7086d5e1aa97e19bac52fc1a416a56110e (patch) | |
tree | d6bc2d29d5e7a23e5885d7e0a823bed10f7f7b06 /src/libhttpd | |
parent | f599f28c339fdd6018d64e71a7d49d8c515c2cde (diff) | |
download | plan9port-946b8d7086d5e1aa97e19bac52fc1a416a56110e.tar.gz plan9port-946b8d7086d5e1aa97e19bac52fc1a416a56110e.tar.bz2 plan9port-946b8d7086d5e1aa97e19bac52fc1a416a56110e.zip |
add searchpairs
Diffstat (limited to 'src/libhttpd')
-rw-r--r-- | src/libhttpd/parsereq.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |