projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9480299
)
* -1 instead of 256 when allocating strbuf
author
Art Cancro
<ajc@citadel.org>
Mon, 22 Jun 2009 20:05:18 +0000
(20:05 +0000)
committer
Art Cancro
<ajc@citadel.org>
Mon, 22 Jun 2009 20:05:18 +0000
(20:05 +0000)
webcit/auth.c
patch
|
blob
|
history
diff --git
a/webcit/auth.c
b/webcit/auth.c
index 5ef52a6de6b4c97706d3cfa8a82fc8656f1f2bf7..bc72b709802cb6429a40d3cfd5e1f87126afecf7 100644
(file)
--- a/
webcit/auth.c
+++ b/
webcit/auth.c
@@
-776,7
+776,7
@@
void display_reg(int during_login)
}
else {
StrBuf *ReturnTo;
- ReturnTo = NewStrBufPlain(NULL,
256
);
+ ReturnTo = NewStrBufPlain(NULL,
-1
);
StrBufUrlescAppend(ReturnTo, NULL, "display_main_menu?gotofirst=");
StrBufUrlescAppend(ReturnTo, WC->wc_roomname, NULL);
lprintf(9, "
\e
[32mwc_roomname: %s
\e
[0m\n", ChrPtr(WC->wc_roomname));