From 63388fe1f3ccc4adefbaefcd56854fd23c300938 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Thu, 18 Apr 2013 19:18:02 +0100 Subject: url: Fix incorrect variable type for result code --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') 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; -- cgit v1.2.3