Loading lib/netrc.c +2 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, 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 Loading Loading @@ -51,10 +51,7 @@ enum host_lookup_state { NOTHING, HOSTFOUND, /* the 'machine' keyword was found */ HOSTCOMPLETE, /* the machine name following the keyword was found too */ HOSTVALID, /* this is "our" machine! */ HOSTEND /* LAST enum */ HOSTVALID /* this is "our" machine! */ }; /* Loading Loading @@ -174,10 +171,6 @@ int Curl_parsenetrc(const char *host, state_our_login = FALSE; } break; case HOSTCOMPLETE: case HOSTEND: /* Should not be reached. */ DEBUGASSERT(0); } /* switch (state) */ tok = strtok_r(NULL, " \t\n", &tok_buf); Loading Loading
lib/netrc.c +2 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, 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 Loading Loading @@ -51,10 +51,7 @@ enum host_lookup_state { NOTHING, HOSTFOUND, /* the 'machine' keyword was found */ HOSTCOMPLETE, /* the machine name following the keyword was found too */ HOSTVALID, /* this is "our" machine! */ HOSTEND /* LAST enum */ HOSTVALID /* this is "our" machine! */ }; /* Loading Loading @@ -174,10 +171,6 @@ int Curl_parsenetrc(const char *host, state_our_login = FALSE; } break; case HOSTCOMPLETE: case HOSTEND: /* Should not be reached. */ DEBUGASSERT(0); } /* switch (state) */ tok = strtok_r(NULL, " \t\n", &tok_buf); Loading