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:
77475f2
)
oops, could return an uninitialized variable
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 May 2006 13:02:53 +0000
(13:02 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 May 2006 13:02:53 +0000
(13:02 +0000)
lib/tftp.c
patch
|
blob
|
history
diff --git
a/lib/tftp.c
b/lib/tftp.c
index 568d12cbbbb260ee881fa45a7fc4cd82c4c7d90c..7a347b5c3be7baab91201ec04adc85800c0b3894 100644
(file)
--- a/
lib/tftp.c
+++ b/
lib/tftp.c
@@
-258,7
+258,7
@@
static CURLcode tftp_send_first(tftp_state_data_t *state, tftp_event_t event)
name so we skip the always-present first letter of the path string. */
char *filename = &state->conn->path[1];
struct SessionHandle *data = state->conn->data;
- CURLcode res;
+ CURLcode res
= CURLE_OK
;
/* Set ascii mode if -B flag was used */
if(data->set.ftp_ascii)