projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02b964
)
* in higher optimization levels the gcc CPP fails to extract the HKEY macro. thus...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Sep 2008 20:43:44 +0000
(20:43 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Sep 2008 20:43:44 +0000
(20:43 +0000)
webcit/cookie_conversion.c
patch
|
blob
|
history
diff --git
a/webcit/cookie_conversion.c
b/webcit/cookie_conversion.c
index e891bccc625f537fb0b21c550318bf4df13d5cbb..9bd90ca54be190929c95f1c88b6c1e778569d058 100644
(file)
--- a/
webcit/cookie_conversion.c
+++ b/
webcit/cookie_conversion.c
@@
-86,7
+86,7
@@
void cookie_to_stuff(StrBuf *cookie, int *session,
char buf[SIZ];
int i, len;
- if (strncmp(ChrPtr(cookie),
HKEY("webcit="
)) == 0)
+ if (strncmp(ChrPtr(cookie),
"webcit=", (sizeof("webcit=") - 1
)) == 0)
StrBufCutLeft(cookie, 7);
strcpy(buf, "");