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 5547c005e0a374c20df9be7a32753111a88c0282..098554cd90d57b741768dca26bde49862349c935 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 */
                }