projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix up ARTV import so that imports actually work.
[citadel.git]
/
citadel
/
modules
/
bio
/
serv_bio.c
diff --git
a/citadel/modules/bio/serv_bio.c
b/citadel/modules/bio/serv_bio.c
index 276e7d9811baebb88c87c05b36891335f0b257dd..d6cbb7537928f60447adf92e67857a3344377ba6 100644
(file)
--- a/
citadel/modules/bio/serv_bio.c
+++ b/
citadel/modules/bio/serv_bio.c
@@
-68,7
+68,7
@@
void cmd_ebio(char *cmdbuf) {
return;
}
cprintf("%d \n",SEND_LISTING);
- while(client_getln(buf, sizeof buf)
,
strcmp(buf,"000")) {
+ while(client_getln(buf, sizeof buf)
>= 0 &&
strcmp(buf,"000")) {
if (ftell(fp) < config.c_maxmsglen) {
fprintf(fp,"%s\n",buf);
}