]> granicus.if.org Git - curl/commitdiff
url: Fix incorrect variable type for result code
authorSteve Holme <steve_holme@hotmail.com>
Thu, 18 Apr 2013 18:18:02 +0000 (19:18 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 18 Apr 2013 18:18:02 +0000 (19:18 +0100)
lib/url.c

index 811dd886b21ee6b3c820fd8725534615061fd2b8..6f237952481494f44f49a6cfac0d9a9acf6769cc 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -4470,7 +4470,7 @@ static CURLcode parse_url_login(struct SessionHandle *data,
 static CURLcode parse_login_details(const char *login, const size_t len,
                                     char **userp, char **passwdp, char **optionsp)
 {
-  int result = CURLE_OK;
+  CURLcode result = CURLE_OK;
   char *utemp = NULL;
   char *ptemp = NULL;
   char *otemp = NULL;