diff options
author | Dan Winship <danw@gnome.org> | 2013-08-27 11:22:59 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-08-27 11:22:59 -0400 |
commit | 825e817118a3e046e3b11443b518cc552a168aee (patch) | |
tree | ecfed2c9ba14ff9d0f3f7da405eaae33ca2d8117 | |
parent | 4a8b1c0544b168b25cbd3b016b7aedee263515ba (diff) | |
download | libsoup-825e817118a3e046e3b11443b518cc552a168aee.tar.gz |
chunk-io-test: fix a bug
-rw-r--r-- | tests/chunk-io-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chunk-io-test.c b/tests/chunk-io-test.c index 7606d41b..f1f96b0f 100644 --- a/tests/chunk-io-test.c +++ b/tests/chunk-io-test.c @@ -617,7 +617,7 @@ do_io_tests (void) g_object_unref (oslow); total = 0; - while (total < nwrote) { + while (total < raw_length) { nwrote = g_output_stream_write (out, raw_contents + total, raw_length - total, NULL, NULL); if (nwrote == -1) |