Commit 322f0bc2 authored by Steve Holme's avatar Steve Holme
Browse files

url.c: Fixed compilation warning

An enumerated type is mixed with another type
parent af4bddf2
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -4795,7 +4795,7 @@ static CURLcode parse_remote_port(struct SessionHandle *data,
 * Override the login details from the URL with that in the CURLOPT_USERPWD
 * option or a .netrc file, if applicable.
 */
static int override_login(struct SessionHandle *data,
static CURLcode override_login(struct SessionHandle *data,
                               struct connectdata *conn,
                               char **userp, char **passwdp, char **optionsp)
{
@@ -4838,6 +4838,7 @@ static int override_login(struct SessionHandle *data,
      conn->bits.user_passwd = TRUE; /* enable user+password */
    }
  }

  return CURLE_OK;
}