aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-18 19:18:02 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-18 19:18:02 +0100
commit63388fe1f3ccc4adefbaefcd56854fd23c300938 (patch)
treea385b2b391a7e3993ec33d3705acc90d6465c56e /lib
parentb75a88aa724c555761f5f4098eed6d28cd51b295 (diff)
url: Fix incorrect variable type for result code
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 811dd886b..6f2379524 100644
--- 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;