]> granicus.if.org Git - apache/commit
cleanup the add_cookie function a bit.
authorAndré Malo <nd@apache.org>
Sun, 3 Aug 2003 19:04:54 +0000 (19:04 +0000)
committerAndré Malo <nd@apache.org>
Sun, 3 Aug 2003 19:04:54 +0000 (19:04 +0000)
commitb209affe9890ccf078c9110fc3ea072ee6859c17
treeec9a6f2177f2f5b6378a7ce9e21b3ab52cb204de
parenta281ae21183bca112da1b68770bd76b7f0026288
cleanup the add_cookie function a bit.
- the if(s) check is superfluid. s is guaranteed to be non-NULL
  (except for out of memory)
- strtok as late as possible to save some cycles.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100892 13f79535-47bb-0310-9956-ffa450edef68
modules/mappers/mod_rewrite.c