Commit 60b2e74f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

corrected the progress callback prototype!!!

parent cda16297
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -75,10 +75,10 @@ struct HttpPost {
};
};


typedef int (*curl_progress_callback)(void *clientp,
typedef int (*curl_progress_callback)(void *clientp,
                                      size_t dltotal,
                                      double dltotal,
                                      size_t dlnow,
                                      double dlnow,
                                      size_t ultotal,
                                      double ultotal,
                                      size_t ulnow);
                                      double ulnow);


typedef size_t (*curl_write_callback)(char *buffer,
typedef size_t (*curl_write_callback)(char *buffer,
                                      size_t size,
                                      size_t size,
@@ -616,7 +616,7 @@ CURLcode curl_global_init(long flags);
void curl_global_cleanup(void);
void curl_global_cleanup(void);


/* This is the version number */
/* This is the version number */
#define LIBCURL_VERSION "7.9.5-pre4"
#define LIBCURL_VERSION "7.9.5-pre6"
#define LIBCURL_VERSION_NUM 0x070905
#define LIBCURL_VERSION_NUM 0x070905


/* linked-list structure for the CURLOPT_QUOTE option (and other) */
/* linked-list structure for the CURLOPT_QUOTE option (and other) */