projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings all over citserver; handle function replies; remove unused code.
[citadel.git]
/
citadel
/
config.c
diff --git
a/citadel/config.c
b/citadel/config.c
index 6817e27fe860c19621028152f5c7281ea5d08d5e..bc9a4128e9bd0b9c8cc5c0793797cee82d5a8bf1 100644
(file)
--- a/
citadel/config.c
+++ b/
citadel/config.c
@@
-179,6
+179,9
@@
void put_config(void)
perror(file_citadel_config);
else {
rv = fwrite((char *) &config, sizeof(struct config), 1, cfp);
+ if (rv == -1)
+ syslog(LOG_EMERG, "Failed to write: %s [%s]\n",
+ file_citadel_config, strerror(errno));
fclose(cfp);
}
}