Fix compilation on Windows

(Bugfix on tests for #9288 fix; bug not in any released Tor)
This commit is contained in:
Nick Mathewson 2013-07-31 14:19:29 -04:00
parent 3842c1f5c9
commit 5405688223

View file

@ -4477,9 +4477,9 @@ stream_status_to_string(enum stream_status stream_status)
/** Return a smartlist containing lines outputted from /** Return a smartlist containing lines outputted from
* <b>handle</b>. Return NULL on error, and set * <b>handle</b>. Return NULL on error, and set
* <b>stream_status_out</b> appropriately. */ * <b>stream_status_out</b> appropriately. */
smartlist_t * MOCK_IMPL(smartlist_t *,
tor_get_lines_from_handle(HANDLE *handle, tor_get_lines_from_handle, (HANDLE *handle,
enum stream_status *stream_status_out) enum stream_status *stream_status_out))
{ {
int pos; int pos;
char stdout_buf[600] = {0}; char stdout_buf[600] = {0};