From 54056882235fbfea84f1e5860a71e54440a1e0b5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 31 Jul 2013 14:19:29 -0400 Subject: Fix compilation on Windows (Bugfix on tests for #9288 fix; bug not in any released Tor) --- src/common/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/util.c b/src/common/util.c index 849a7178c6..fc247acbeb 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -4477,9 +4477,9 @@ stream_status_to_string(enum stream_status stream_status) /** Return a smartlist containing lines outputted from * handle. Return NULL on error, and set * stream_status_out appropriately. */ -smartlist_t * -tor_get_lines_from_handle(HANDLE *handle, - enum stream_status *stream_status_out) +MOCK_IMPL(smartlist_t *, +tor_get_lines_from_handle, (HANDLE *handle, + enum stream_status *stream_status_out)) { int pos; char stdout_buf[600] = {0}; -- cgit v1.2.3-54-g00ecf