Loading lib/connect.c +1 −2 Original line number Diff line number Diff line Loading @@ -810,7 +810,6 @@ CURLcode Curl_is_connected(struct connectdata *conn, return CURLE_OK; } else infof(data, "Connection failed\n"); } else if(rc & CURL_CSELECT_ERR) Loading lib/content_encoding.c +1 −2 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ inflate_stream(struct connectdata *conn, free(decomp); if(inflateEnd(z) == Z_OK) return exit_zlib(z, &k->zlib_init, result); else return exit_zlib(z, &k->zlib_init, process_zlib_error(conn, z)); } Loading lib/cookie.c +2 −3 Original line number Diff line number Diff line Loading @@ -929,7 +929,6 @@ static char *get_line(char *buf, int len, FILE *input) } return b; } else /* read a partial, discard the next piece that ends with newline */ partial = TRUE; } Loading lib/curl_addrinfo.c +1 −1 Original line number Diff line number Diff line Loading @@ -469,7 +469,7 @@ Curl_addrinfo *Curl_str2addr(char *address, int port) /* This is a dotted IP address 123.123.123.123-style */ return Curl_ip2addr(AF_INET, &in, address, port); #ifdef ENABLE_IPV6 else { { struct in6_addr in6; if(Curl_inet_pton(AF_INET6, address, &in6) > 0) /* This is a dotted IPv6 address ::1-style */ Loading lib/curl_fnmatch.c +3 −5 Original line number Diff line number Diff line Loading @@ -145,7 +145,6 @@ static int setcharset(unsigned char **p, unsigned char *charset) else if(c == ']') { if(something_found) return SETCHARSET_OK; else something_found = TRUE; state = CURLFNM_SCHS_RIGHTBR; charset[c] = 1; Loading Loading @@ -244,7 +243,7 @@ static int setcharset(unsigned char **p, unsigned char *charset) if(c == ']') { return SETCHARSET_OK; } else if(c == '\\') { if(c == '\\') { c = *(++(*p)); if(ISPRINT(c)) { charset[c] = 1; Loading Loading @@ -345,7 +344,6 @@ static int loop(const unsigned char *pattern, const unsigned char *string) else if(*p == '\0') { if(*s == '\0') return CURL_FNMATCH_MATCH; else return CURL_FNMATCH_NOMATCH; } else if(*p == '\\') { Loading Loading
lib/connect.c +1 −2 Original line number Diff line number Diff line Loading @@ -810,7 +810,6 @@ CURLcode Curl_is_connected(struct connectdata *conn, return CURLE_OK; } else infof(data, "Connection failed\n"); } else if(rc & CURL_CSELECT_ERR) Loading
lib/content_encoding.c +1 −2 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ inflate_stream(struct connectdata *conn, free(decomp); if(inflateEnd(z) == Z_OK) return exit_zlib(z, &k->zlib_init, result); else return exit_zlib(z, &k->zlib_init, process_zlib_error(conn, z)); } Loading
lib/cookie.c +2 −3 Original line number Diff line number Diff line Loading @@ -929,7 +929,6 @@ static char *get_line(char *buf, int len, FILE *input) } return b; } else /* read a partial, discard the next piece that ends with newline */ partial = TRUE; } Loading
lib/curl_addrinfo.c +1 −1 Original line number Diff line number Diff line Loading @@ -469,7 +469,7 @@ Curl_addrinfo *Curl_str2addr(char *address, int port) /* This is a dotted IP address 123.123.123.123-style */ return Curl_ip2addr(AF_INET, &in, address, port); #ifdef ENABLE_IPV6 else { { struct in6_addr in6; if(Curl_inet_pton(AF_INET6, address, &in6) > 0) /* This is a dotted IPv6 address ::1-style */ Loading
lib/curl_fnmatch.c +3 −5 Original line number Diff line number Diff line Loading @@ -145,7 +145,6 @@ static int setcharset(unsigned char **p, unsigned char *charset) else if(c == ']') { if(something_found) return SETCHARSET_OK; else something_found = TRUE; state = CURLFNM_SCHS_RIGHTBR; charset[c] = 1; Loading Loading @@ -244,7 +243,7 @@ static int setcharset(unsigned char **p, unsigned char *charset) if(c == ']') { return SETCHARSET_OK; } else if(c == '\\') { if(c == '\\') { c = *(++(*p)); if(ISPRINT(c)) { charset[c] = 1; Loading Loading @@ -345,7 +344,6 @@ static int loop(const unsigned char *pattern, const unsigned char *string) else if(*p == '\0') { if(*s == '\0') return CURL_FNMATCH_MATCH; else return CURL_FNMATCH_NOMATCH; } else if(*p == '\\') { Loading