[libsoup] requester-test: fix some debug printfs
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] requester-test: fix some debug printfs
- Date: Fri, 13 Jul 2012 18:20:04 +0000 (UTC)
commit 3ad729de7e3859f47c8f6181ec8f7e1626308cd5
Author: Dan Winship <danw gnome org>
Date: Fri Jul 13 14:18:22 2012 -0400
requester-test: fix some debug printfs
tests/requester-test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/requester-test.c b/tests/requester-test.c
index ae02451..4da46ab 100644
--- a/tests/requester-test.c
+++ b/tests/requester-test.c
@@ -109,7 +109,7 @@ stream_closed (GObject *source, GAsyncResult *res, gpointer user_data)
GError *error = NULL;
if (!g_input_stream_close_finish (stream, res, &error)) {
- debug_printf (1, " close failed: %s", error->message);
+ debug_printf (1, " close failed: %s\n", error->message);
g_error_free (error);
errors++;
}
@@ -128,7 +128,7 @@ test_read_ready (GObject *source, GAsyncResult *res, gpointer user_data)
nread = g_input_stream_read_finish (stream, res, &error);
if (nread == -1) {
- debug_printf (1, " read_async failed: %s", error->message);
+ debug_printf (1, " read_async failed: %s\n", error->message);
g_error_free (error);
errors++;
g_input_stream_close (stream, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]