projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
[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 ea88b87d36da0ed953fb7a4d8b9cbbc94bb1c1d3..81a54b573914d230981ad2c063e5571ffff9f2b5 100644
(file)
--- a/
citadel/modules/bio/serv_bio.c
+++ b/
citadel/modules/bio/serv_bio.c
@@
-2,7
+2,7
@@
* This module implementsserver commands related to the display and
* manipulation of user "bio" files.
*
* This module implementsserver commands related to the display and
* manipulation of user "bio" files.
*
- * Copyright (c) 1987-201
2
by the citadel.org team
+ * Copyright (c) 1987-201
5
by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-16,6
+16,7
@@
*/
#include "ctdl_module.h"
*/
#include "ctdl_module.h"
+#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
@@
-45,7
+46,7
@@
void cmd_ebio(char *cmdbuf) {
}
cprintf("%d \n",SEND_LISTING);
while(client_getln(buf, sizeof buf) >= 0 && strcmp(buf,"000")) {
}
cprintf("%d \n",SEND_LISTING);
while(client_getln(buf, sizeof buf) >= 0 && strcmp(buf,"000")) {
- if (ftell(fp) <
config.c_maxmsglen
) {
+ if (ftell(fp) <
CtdlGetConfigLong("c_maxmsglen")
) {
fprintf(fp,"%s\n",buf);
}
}
fprintf(fp,"%s\n",buf);
}
}