]> err.no Git - voouiri/commitdiff
Add slight debugging, still just toying around master
authorTollef Fog Heen <tfheen@err.no>
Tue, 20 Jan 2009 01:41:55 +0000 (02:41 +0100)
committerTollef Fog Heen <tfheen@err.no>
Tue, 20 Jan 2009 01:41:55 +0000 (02:41 +0100)
src/main.c

index e4ba30b933393b36c05ff08f894f50276384f723..f5bfcae3f140ff6f3092b7a957ed116a2a7ef613 100644 (file)
 
 #include <librsync.h>
 
 
 #include <librsync.h>
 
+struct filesig {
+       char *filename;
+       char *signature;
+}
+
 int server = 0;
 
 ssize_t write_chunked(int fd, const char *buf, size_t count)
 int server = 0;
 
 ssize_t write_chunked(int fd, const char *buf, size_t count)
@@ -109,6 +114,8 @@ int do_server()
                rs_status = rs_job_iter(rs_job, &rs_buf);
                fprintf(stderr, "%s\n", rs_strerror(rs_status));
        }
                rs_status = rs_job_iter(rs_job, &rs_buf);
                fprintf(stderr, "%s\n", rs_strerror(rs_status));
        }
+       fprintf(stderr, "%s\n", filename);
+       
 
 }
 
 
 }