From 54fd7f1a3ac0698eda0c46016bc84ec6f068d90b Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 20 Jan 2009 02:41:55 +0100 Subject: [PATCH] Add slight debugging, still just toying around --- src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.c b/src/main.c index e4ba30b..f5bfcae 100644 --- a/src/main.c +++ b/src/main.c @@ -26,6 +26,11 @@ #include +struct filesig { + char *filename; + char *signature; +} + 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)); } + fprintf(stderr, "%s\n", filename); + } -- 2.39.5