ftp: remove redundant null pointer check in loop condition
Closes #14234
This commit is contained in:
parent
92e28f2897
commit
8e13837e0e
@ -1354,7 +1354,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
|
|||||||
char *dest = target;
|
char *dest = target;
|
||||||
|
|
||||||
/* translate x.x.x.x to x,x,x,x */
|
/* translate x.x.x.x to x,x,x,x */
|
||||||
while(source && *source) {
|
while(*source) {
|
||||||
if(*source == '.')
|
if(*source == '.')
|
||||||
*dest = ',';
|
*dest = ',';
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user