Fix a regression introduced with the previous commit.
authorFabian Keil <fk@fabiankeil.de>
Sun, 28 Mar 2010 18:02:22 +0000 (18:02 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 28 Mar 2010 18:02:22 +0000 (18:02 +0000)
commitc0bb739e3cd49e1eca5745932aa59c5651d1d924
treeeb41104c8017aea0c66e12128bd33d0c211e373c
parent81d683b179e250ec86b9a42d668e5cfecc986fb3
Fix a regression introduced with the previous commit.

The (url_param[0] != '\0') check wasn't supposed to prevent
strstr() from segfaulting (which makes no sense), but to detect
whether or not an URL has been specified.

'Optimizing' it away was thus a dumb move.
cgisimple.c