sftp range: remove unnecessary check for NULL pointer

This commit is contained in:
Daniel Stenberg 2010-04-16 23:20:50 +02:00
parent b025ac16a6
commit 9799dbebd6
1 changed files with 1 additions and 1 deletions

View File

@ -1910,7 +1910,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
char *ptr2;
from=curlx_strtoofft(conn->data->state.range, &ptr, 0);
while(ptr && *ptr && (isspace((int)*ptr) || (*ptr=='-')))
while(*ptr && (isspace((int)*ptr) || (*ptr=='-')))
ptr++;
to=curlx_strtoofft(ptr, &ptr2, 0);
if((ptr == ptr2) /* no "to" value given */