Loading lib/transfer.c +5 −3 Original line number Diff line number Diff line Loading @@ -660,10 +660,12 @@ CURLcode Curl_readwrite(struct connectdata *conn, while(*ptr && !isspace((int)*ptr)) ptr++; backup = *ptr; /* store the ending letter */ if(ptr != start) { *ptr = '\0'; /* zero terminate */ conn->newurl = strdup(start); /* clone string */ *ptr = backup; /* restore ending letter */ } } /* * End of header-checks. Write them to the client. Loading Loading
lib/transfer.c +5 −3 Original line number Diff line number Diff line Loading @@ -660,10 +660,12 @@ CURLcode Curl_readwrite(struct connectdata *conn, while(*ptr && !isspace((int)*ptr)) ptr++; backup = *ptr; /* store the ending letter */ if(ptr != start) { *ptr = '\0'; /* zero terminate */ conn->newurl = strdup(start); /* clone string */ *ptr = backup; /* restore ending letter */ } } /* * End of header-checks. Write them to the client. Loading