cURL / Mailing Lists / curl-library / Single Mail

curl-library

Compiler warning

From: Andrés García <fandom_at_retemail.es>
Date: Fri, 27 May 2005 12:45:52 +0200

Hi,

This little patch prevents a compiler warning in Windows.

Andres

diff -ru curl/tests/libtest/lib505.c Test/tests/libtest/lib505.c
--- curl/tests/libtest/lib505.c Thu Dec 16 18:17:24 2004
+++ Test/tests/libtest/lib505.c Fri May 27 10:19:56 2005
@@ -40,7 +40,7 @@
   CURLcode res;
   FILE *hd_src ;
   int hd ;
- struct stat file_info;
+ struct_stat file_info;
   struct curl_slist *headerlist=NULL;
   const char *buf_1 = "RNFR 505";
   const char *buf_2 = "RNTO 505-forreal";
Received on 2005-05-27