projects
/
ngircd-alex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e93129
)
Remove wrong #ifdef in Option_String()
author
Alexander Barton
<alex@barton.de>
Fri, 1 Nov 2013 18:12:35 +0000
(19:12 +0100)
committer
Alexander Barton
<alex@barton.de>
Fri, 1 Nov 2013 18:12:35 +0000
(19:12 +0100)
This fixes the following error when compiling without zlib support:
irc.c: In function ‘Option_String’:
irc.c:487: error: ‘options’ undeclared (first use in this function)
Reported by "der_baer" on #ngircd.
src/ngircd/irc.c
patch
|
blob
|
history
diff --git
a/src/ngircd/irc.c
b/src/ngircd/irc.c
index ee7972c215a7534519cea8759d4252341e80ef37..b2d865fc7fa381c0b8062ad6bfcde58468f8460d 100644
(file)
--- a/
src/ngircd/irc.c
+++ b/
src/ngircd/irc.c
@@
-478,9
+478,7
@@
Option_String(UNUSED CONN_ID Idx)
#endif
{
static char option_txt[8];
-#ifdef ZLIB
UINT16 options;
-#endif
assert(Idx != NONE);