aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-08-21 12:01:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-08-21 12:01:36 +0000
commit8b5102ca835d73d5cc633f1e7b8d05b3a8082f61 (patch)
tree0fd77ac2f297a551ff7c6b93298e944f2cd6bbbf /lib/transfer.h
parent1048043963d5487ed4d70f426a85aff07c2ee5f1 (diff)
- Andre Guibert de Bruet pointed out a missing return code check for a
strdup() that could lead to segfault if it returned NULL. I extended his suggest patch to now have Curl_retry_request() return a regular return code and better check that.
Diffstat (limited to 'lib/transfer.h')
-rw-r--r--lib/transfer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.h b/lib/transfer.h
index 4b39faa18..a9b1cd370 100644
--- a/lib/transfer.h
+++ b/lib/transfer.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -47,7 +47,7 @@ int Curl_single_getsock(const struct connectdata *conn,
CURLcode Curl_readrewind(struct connectdata *conn);
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
CURLcode Curl_reconnect_request(struct connectdata **connp);
-bool Curl_retry_request(struct connectdata *conn, char **url);
+CURLcode Curl_retry_request(struct connectdata *conn, char **url);
/* This sets up a forthcoming transfer */
CURLcode