summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-11 23:31:37 +0000
committerJeremy Allison <jra@samba.org>1998-11-11 23:31:37 +0000
commitf9584f93be33ee69912708e6402809f47703a5d5 (patch)
treee5e2ce5e6cceed60a0a77915a1e500af2dc10edb /source3/web
parentf49b994aeb987ac87c3c49f35ae1e05a7004f75d (diff)
downloadsamba-f9584f93be33ee69912708e6402809f47703a5d5.tar.gz
samba-f9584f93be33ee69912708e6402809f47703a5d5.tar.bz2
samba-f9584f93be33ee69912708e6402809f47703a5d5.zip
J.F.'s latest printer fixes plus his gcc -picky fix for web/cgi.c
Jeremy. (This used to be commit bd4e2972f50cafd932a5c915cdeeef7eedda07cc)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index 86366d1083..41d099bac9 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -411,7 +411,7 @@ void cgi_setup(char *rootdir, int auth_required)
char *x;
/* Save the users name if available */
- if (x = getenv("REMOTE_USER")) {
+ if ((x = getenv("REMOTE_USER"))!=NULL) {
C_user = strdup(x);
} else {
C_user = "";