From: Tollef Fog Heen Date: Tue, 20 Jan 2009 01:41:55 +0000 (+0100) Subject: Add slight debugging, still just toying around X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=inline;p=voouiri Add slight debugging, still just toying around --- 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); + }