projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b025ac1
)
sftp range: remove unnecessary check for NULL pointer
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 16 Apr 2010 21:20:50 +0000
(23:20 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 16 Apr 2010 21:20:50 +0000
(23:20 +0200)
lib/ssh.c
patch
|
blob
|
history
diff --git
a/lib/ssh.c
b/lib/ssh.c
index
ff5994b
..
b3da655
100644
(file)
--- a/
lib/ssh.c
+++ b/
lib/ssh.c
@@
-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 */