projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
998f7ba
)
UCLS: output networker files to syslog
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 17 Aug 2013 19:13:22 +0000
(21:13 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 17 Aug 2013 19:13:22 +0000
(21:13 +0200)
citadel/file_ops.c
patch
|
blob
|
history
diff --git
a/citadel/file_ops.c
b/citadel/file_ops.c
index 5547c005e0a374c20df9be7a32753111a88c0282..098554cd90d57b741768dca26bde49862349c935 100644
(file)
--- a/
citadel/file_ops.c
+++ b/
citadel/file_ops.c
@@
-545,6
+545,8
@@
void cmd_ucls(char *cmd)
);
if (link(CC->upl_path, final_filename) == 0) {
);
if (link(CC->upl_path, final_filename) == 0) {
+ syslog(LOG_INFO, "UCLS: updoaded %s\n",
+ final_filename);
unlink(CC->upl_path);
}
else {
unlink(CC->upl_path);
}
else {
@@
-552,6
+554,7
@@
void cmd_ucls(char *cmd)
CC->upl_path, final_filename, strerror(errno)
);
}
CC->upl_path, final_filename, strerror(errno)
);
}
+
/* FIXME ... here we need to trigger a network run */
}
/* FIXME ... here we need to trigger a network run */
}