diff options
author | Dan Winship <danw@gnome.org> | 2012-12-04 11:44:02 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-12-04 11:45:12 -0500 |
commit | fb840471fd06dd52fbf9f656204561028682264c (patch) | |
tree | 3d0ae4c840433ab64b22ec707be991fc3741f7f1 /tests/continue-test.c | |
parent | 3f716d732b8473ffbb68daf192958dbe1702aa39 (diff) | |
download | libsoup-fb840471fd06dd52fbf9f656204561028682264c.tar.gz |
tests: fix a few bugs
Fix a few places where the test might crash rather than reporting an
error when something went wrong.
Diffstat (limited to 'tests/continue-test.c')
-rw-r--r-- | tests/continue-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/continue-test.c b/tests/continue-test.c index fa9ef809..7cc9f692 100644 --- a/tests/continue-test.c +++ b/tests/continue-test.c @@ -106,10 +106,10 @@ do_message (const char *path, gboolean long_body, while ((expected_event = va_arg (ap, const char *))) { if (!events) { - actual_event = g_strdup (""); debug_printf (1, " Expected '%s', got end of list\n", expected_event); errors++; + continue; } else { actual_event = events->data; if (strcmp (expected_event, actual_event) != 0) { |