diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-16 14:45:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-16 14:45:31 -0500 |
commit | 7206e8cdd4213a1d70f9d69e344f27464a6fa16f (patch) | |
tree | 6bd4036d8b5c7075d09df37cca217d57b8b15478 /sample/http-server.c | |
parent | cba48c7d46a5442f64be19b7b08aebad5968b64a (diff) | |
download | libevent-7206e8cdd4213a1d70f9d69e344f27464a6fa16f.tar.gz |
Suppress a gcc warning from ignoring fwrite return in http-sample.c
Found by Steve Snyder
Diffstat (limited to 'sample/http-server.c')
-rw-r--r-- | sample/http-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/http-server.c b/sample/http-server.c index cd6b27af..fb455792 100644 --- a/sample/http-server.c +++ b/sample/http-server.c @@ -134,7 +134,7 @@ dump_request_cb(struct evhttp_request *req, void *arg) char cbuf[128]; n = evbuffer_remove(buf, cbuf, sizeof(buf)-1); if (n > 0) - fwrite(cbuf, 1, n, stdout); + (void) fwrite(cbuf, 1, n, stdout); } puts(">>>"); |