From: Nick Mathewson Date: Wed, 31 Jul 2013 18:19:29 +0000 (-0400) Subject: Fix compilation on Windows X-Git-Tag: tor-0.2.5.1-alpha~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54056882235fbfea84f1e5860a71e54440a1e0b5;p=thirdparty%2Ftor.git Fix compilation on Windows (Bugfix on tests for #9288 fix; bug not in any released Tor) --- 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};