UCLS: output networker files to syslog
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 17 Aug 2013 19:13:22 +0000 (21:13 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 17 Aug 2013 19:13:22 +0000 (21:13 +0200)
citadel/file_ops.c

index 5547c00..098554c 100644 (file)
@@ -545,6 +545,8 @@ void cmd_ucls(char *cmd)
                        );
 
                        if (link(CC->upl_path, final_filename) == 0) {
+                               syslog(LOG_INFO, "UCLS: updoaded %s\n",
+                                      final_filename);
                                unlink(CC->upl_path);
                        }
                        else {
@@ -552,6 +554,7 @@ void cmd_ucls(char *cmd)
                                        CC->upl_path, final_filename, strerror(errno)
                                );
                        }
+                       
 
                        /* FIXME ... here we need to trigger a network run */
                }