diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2008-11-07 23:22:57 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2008-11-07 23:22:57 -0500 |
commit | 9ba66fc3ae6508f34e236e1e805f8250c77d070c (patch) | |
tree | 98384d52283c5471be1f7d291a26585fbe9afc70 | |
parent | ef82a6fba898d397c334a0cff33aa26e58def279 (diff) |
Fix compile failure
-rw-r--r-- | src/lac.h | 2 | ||||
-rw-r--r-- | tests/http-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -300,7 +300,7 @@ void lac_connection_shutdown_write (LacConnection *connection); LacConnection * lac_connection_ref (LacConnection *connection); void lac_connection_unref (LacConnection *connection); const LacAddress *lac_connection_get_address (LacConnection *connection); -int lac_connection_get_port (LacConnection *connection); +int lac_connection_get_port (LacConnection *connection); void lac_connection_close (LacConnection *connection); gboolean lac_connection_is_connected (LacConnection *connection); void lac_connection_flush (LacConnection *connection); diff --git a/tests/http-test.c b/tests/http-test.c index 884a61d..2d17c75 100644 --- a/tests/http-test.c +++ b/tests/http-test.c @@ -86,7 +86,7 @@ lac_http_callback (LacHttpRequest *request, const LacHttpEvent *event) break; case LAC_HTTP_EVENT_BEGIN_CONTENT: - g_print ("%s: begin content (length %d)\n", uri_str, event->begin_content.length); + g_print ("%s: begin content (total %d)\n", uri_str, event->begin_content.total); break; case LAC_HTTP_EVENT_CONTENT: |