summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2008-11-07 23:22:57 -0500
committerSøren Sandmann Pedersen <sandmann@redhat.com>2008-11-07 23:22:57 -0500
commit9ba66fc3ae6508f34e236e1e805f8250c77d070c (patch)
tree98384d52283c5471be1f7d291a26585fbe9afc70
parentef82a6fba898d397c334a0cff33aa26e58def279 (diff)
Fix compile failure
-rw-r--r--src/lac.h2
-rw-r--r--tests/http-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lac.h b/src/lac.h
index 8fc5e25..d4d0e73 100644
--- a/src/lac.h
+++ b/src/lac.h
@@ -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: