projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* serv_getln now is a wrapper around existing functionality. a new temporary var...
[citadel.git]
/
webcit
/
calendar.c
diff --git
a/webcit/calendar.c
b/webcit/calendar.c
index 57b98b4001492a8fd3e333f0199e81366c3446fa..48a0f1fc793461630d2a70e8d70a03643e94f9c4 100644
(file)
--- a/
webcit/calendar.c
+++ b/
webcit/calendar.c
@@
-1063,12
+1063,12
@@
void load_ical_object(long msgnum, int unread,
relevant_partnum[0] = '\0';
serv_printf("MSG4 %ld", msgnum); /* we need the mime headers */
Buf = NewStrBuf();
relevant_partnum[0] = '\0';
serv_printf("MSG4 %ld", msgnum); /* we need the mime headers */
Buf = NewStrBuf();
- StrBuf_ServGetln
Buffered
(Buf);
+ StrBuf_ServGetln(Buf);
if (GetServerStatus(Buf, NULL) != 1) {
FreeStrBuf (&Buf);
return;
}
if (GetServerStatus(Buf, NULL) != 1) {
FreeStrBuf (&Buf);
return;
}
- while (
(StrBuf_ServGetlnBuffered(Buf)>=0) && !Done
) {
+ while (
!Done && (StrBuf_ServGetln(Buf)>=0)
) {
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000")) {
Done = 1;
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000")) {
Done = 1;