diff options
Diffstat (limited to 'tests/eagain-common.h')
-rw-r--r-- | tests/eagain-common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/eagain-common.h b/tests/eagain-common.h index d75e78782f..dbc5f33a50 100644 --- a/tests/eagain-common.h +++ b/tests/eagain-common.h @@ -88,7 +88,6 @@ } \ while (transferred < 70000) - static char to_server[64*1024]; static size_t to_server_len = 0; @@ -229,3 +228,9 @@ int ret; return ret; } + +static void reset_buffers(void) +{ + to_server_len = 0; + to_client_len = 0; +} |