Commit 945feafe authored by Guenter Knauf's avatar Guenter Knauf
Browse files

use stderr for error output.

parent 5389ac0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -150,7 +150,8 @@ int main(int argc, char *argv[])
      printf("Average download speed: %0.3f kbyte/sec.\n", val / 1024);

  } else {
    printf("Error while fetching '%s' : %s\n", url, curl_easy_strerror(res));
    fprintf(stderr, "Error while fetching '%s' : %s\n",
            url, curl_easy_strerror(res));
  }

  /* cleanup curl stuff */