]> granicus.if.org Git - curl/commitdiff
unit1606: do not print/access buffer
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2017 06:46:18 +0000 (08:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 May 2017 20:55:29 +0000 (22:55 +0200)
It was a wrong assumption that it could do that!

tests/unit/unit1606.c

index 7acba03256d38ea45fa808e68a764404feb7fb6c..f08735b3fa393721ff57275eebaffe25544db088 100644 (file)
@@ -62,7 +62,6 @@ static int runawhile(struct Curl_easy *easy,
 
   finaltime = (int)(now.tv_sec - 1);
 
-  printf("%s\n", easy->state.buffer);
   return finaltime;
 }