mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
ftp: remove redundant null pointer check in loop condition
Closes #14234
This commit is contained in:
parent
92e28f2897
commit
8e13837e0e
1 changed files with 1 additions and 1 deletions
|
|
@ -1354,7 +1354,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
|
|||
char *dest = target;
|
||||
|
||||
/* translate x.x.x.x to x,x,x,x */
|
||||
while(source && *source) {
|
||||
while(*source) {
|
||||
if(*source == '.')
|
||||
*dest = ',';
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue