projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459d439
)
Fix bug in text client that causes parts of listings to be lost.
author
Dave West
<davew@uncensored.citadel.org>
Sat, 3 Nov 2007 22:22:51 +0000
(22:22 +0000)
committer
Dave West
<davew@uncensored.citadel.org>
Sat, 3 Nov 2007 22:22:51 +0000
(22:22 +0000)
Most noticeable in .Z command.
citadel/citadel_ipc.c
patch
|
blob
|
history
diff --git
a/citadel/citadel_ipc.c
b/citadel/citadel_ipc.c
index 26751df7b7786c730eb9c4a4bfe946ffd4dbbc59..6b097551d1d50234c7530f0bae7d08f9eda0097d 100644
(file)
--- a/
citadel/citadel_ipc.c
+++ b/
citadel/citadel_ipc.c
@@
-2932,11
+2932,11
@@
static void CtdlIPC_getline(CtdlIPC* ipc, char *buf)
while ( ReadNetworkChunk(ipc) < 0 )
sleep (1);
+ bptr = buf;
+
while (1)
{
-
aptr = ipc->BufPtr;
- bptr = buf;
aeptr = ipc->Buf + ipc->BufSize;
while ((aptr < aeptr) &&
(bptr < beptr) &&
@@
-2983,8
+2983,6
@@
static void CtdlIPC_getline(CtdlIPC* ipc, char *buf)
ipc->BufUsed -= delta;
ipc->BufSize = NewBufSize;
}
- else {
- }
if (ReadNetworkChunk(ipc) <0)
return;
}