From c8f119c1a1db853a3f9333f876c7e97074ee82f3 Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 13 Jan 2016 01:07:27 -0500 Subject: [PATCH] fix typo --- src/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file.cpp b/src/file.cpp index 773aa9272..b0f1cf562 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -197,7 +197,7 @@ namespace if (WaitForMultipleObjects(num_bufs, h, TRUE, INFINITE) == WAIT_FAILED) { ret = -1; - break; + goto done; } for (int i = 0; i < num_bufs; ++i) @@ -267,7 +267,7 @@ done: if (WaitForMultipleObjects(num_bufs, h, TRUE, INFINITE) == WAIT_FAILED) { ret = -1; - break; + goto done; } for (int i = 0; i < num_bufs; ++i)