diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-01 02:07:23 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-01 02:07:23 +0100 |
commit | 2e302748962425d96300f32ec1c0739b6c9aaff1 (patch) | |
tree | 5ac838e752613756a44ea8563fb1d6be96764413 /tools/web-test.c | |
parent | 64e9586ae2953162b3b7ae1c0e11e4df4b0ed787 (diff) | |
download | connman-2e302748962425d96300f32ec1c0739b6c9aaff1.tar.gz connman-2e302748962425d96300f32ec1c0739b6c9aaff1.tar.bz2 connman-2e302748962425d96300f32ec1c0739b6c9aaff1.zip |
Use return value of result function to indicate to proceed or not
Diffstat (limited to 'tools/web-test.c')
-rw-r--r-- | tools/web-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/web-test.c b/tools/web-test.c index c148c912..5a320ec6 100644 --- a/tools/web-test.c +++ b/tools/web-test.c @@ -43,7 +43,7 @@ static void sig_term(int sig) g_main_loop_quit(main_loop); } -static void web_result(GWebResult *result, gpointer user_data) +static gboolean web_result(GWebResult *result, gpointer user_data) { guint16 status; gdouble elapsed; @@ -57,6 +57,8 @@ static void web_result(GWebResult *result, gpointer user_data) g_print("status: %03u\n", status); g_main_loop_quit(main_loop); + + return FALSE; } static gboolean option_debug = FALSE; |