diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-31 14:19:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-31 14:19:29 -0400 |
commit | 54056882235fbfea84f1e5860a71e54440a1e0b5 (patch) | |
tree | 338420215aa1543d270106068b072c412851be6a /src | |
parent | 3842c1f5c99ea2de2656692a7c168daab29f855d (diff) | |
download | tor-54056882235fbfea84f1e5860a71e54440a1e0b5.tar.gz tor-54056882235fbfea84f1e5860a71e54440a1e0b5.zip |
Fix compilation on Windows
(Bugfix on tests for #9288 fix; bug not in any released Tor)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 6 |
1 files 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 * <b>handle</b>. Return NULL on error, and set * <b>stream_status_out</b> 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}; |