diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:20:50 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 23:20:50 +0200 |
commit | 9799dbebd6ab174a01fef2ff62d8806b1ea8bbd5 (patch) | |
tree | dafb5f349ab7f0ee944418063709a320101eb024 /lib | |
parent | b025ac16a6ea2d4c167a2bfe86f623c3ae2d9f4b (diff) |
sftp range: remove unnecessary check for NULL pointer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |