projects
/
infodrom
/
cgilib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b469a
)
Fixed little mistake in offline mode
author
Joey Schulze
<joey@infodrom.org>
Wed, 18 Feb 1998 20:14:57 +0000
(20:14 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 18 Feb 1998 20:14:57 +0000
(20:14 +0000)
cgi.c
patch
|
blob
|
history
diff --git
a/cgi.c
b/cgi.c
index
b3f1758
..
3bee6dc
100644
(file)
--- a/
cgi.c
+++ b/
cgi.c
@@
-124,6
+124,8
@@
s_cgi **cgiInit ()
line = ip;
}
}
+ if (!line)
+ return NULL;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
}