aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-31 14:19:29 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-31 14:19:29 -0400
commit54056882235fbfea84f1e5860a71e54440a1e0b5 (patch)
tree338420215aa1543d270106068b072c412851be6a /src
parent3842c1f5c99ea2de2656692a7c168daab29f855d (diff)
downloadtor-54056882235fbfea84f1e5860a71e54440a1e0b5.tar
tor-54056882235fbfea84f1e5860a71e54440a1e0b5.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 849a7178c..fc247acbe 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};