projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e647ba1
)
* return_to logic in do_edit_vcard() and submit_vcard() is now working peoperly....
author
Art Cancro
<ajc@citadel.org>
Tue, 23 Jun 2009 15:07:27 +0000
(15:07 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 23 Jun 2009 15:07:27 +0000
(15:07 +0000)
webcit/auth.c
patch
|
blob
|
history
webcit/vcard_edit.c
patch
|
blob
|
history
diff --git
a/webcit/auth.c
b/webcit/auth.c
index 1ac3921c423dcd416838b810c171b7676f1e6946..2c5c1d04a155e4ef61a26539847827670fc1d762 100644
(file)
--- a/
webcit/auth.c
+++ b/
webcit/auth.c
@@
-778,18
+778,11
@@
void display_reg(int during_login)
StrBuf *ReturnTo;
ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst="));
StrBufAppendBuf(ReturnTo, WC->wc_roomname, 0);
StrBuf *ReturnTo;
ReturnTo = NewStrBufPlain(HKEY("display_main_menu?gotofirst="));
StrBufAppendBuf(ReturnTo, WC->wc_roomname, 0);
- lprintf(9, "
\e
[32mwc_roomname: %s
\e
[0m\n", ChrPtr(WC->wc_roomname));
- lprintf(9, "
\e
[31m ReturnTo: %s
\e
[0m\n", ChrPtr(ReturnTo));
do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, ChrPtr(ReturnTo), USERCONFIGROOM);
FreeStrBuf(&ReturnTo);
}
do_edit_vcard(vcard_msgnum, "1", VCMsg, VCAtt, ChrPtr(ReturnTo), USERCONFIGROOM);
FreeStrBuf(&ReturnTo);
}
- /*
- FIXME
- 1. don't we have to free VCMsg and VCAtt ??
- 2. Fix bug 268
- */
-
+ /* FIXME - don't we have to free VCMsg and VCAtt ?? */
}
}
diff --git
a/webcit/vcard_edit.c
b/webcit/vcard_edit.c
index 4b3940fb247bbf7d8a470ae8fdd1e273cc042b08..b690e01cc383928c9f14edfb9d74a6bf7192ac38 100644
(file)
--- a/
webcit/vcard_edit.c
+++ b/
webcit/vcard_edit.c
@@
-1026,7
+1026,7
@@
void do_edit_vcard(long msgnum, char *partnum,
wprintf("\">\n");
wprintf("<input type=\"hidden\" name=\"return_to\" value=\"");
wprintf("\">\n");
wprintf("<input type=\"hidden\" name=\"return_to\" value=\"");
-
url
escputs(return_to);
+ escputs(return_to);
wprintf("\">\n");
wprintf("<div class=\"buttons\">\n"
wprintf("\">\n");
wprintf("<div class=\"buttons\">\n"