Commit 48b92c16 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fix a mingw32 build warning

parent b7575b39
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1207,10 +1207,11 @@ CURLcode Curl_telnet(struct connectdata *conn)
      char *buffer = buf;

      for(;;) {
        if(!PeekNamedPipe(stdin_handle,NULL,0,NULL,&nread,NULL)) {
        if(!PeekNamedPipe(stdin_handle, NULL, 0, NULL, &readfile_read, NULL)) {
          keepon = FALSE;
          break;
        }
        nread = readfile_read;

        if(!nread)
          break;