projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684245d
)
Avoid warning 'port' might be used uninitialized in this function.
author
Gisle Vanem
<gvanem@broadpark.no>
Thu, 20 Jul 2006 15:54:01 +0000
(15:54 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Thu, 20 Jul 2006 15:54:01 +0000
(15:54 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index 8f328ab91c0402e34187d58e67f923a24ad4e584..c270305043cd2b6935cada924793d997b956b96c 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-808,7
+808,7
@@
static CURLcode ftp_state_use_port(struct connectdata *conn,
int error;
char *host=NULL;
struct Curl_dns_entry *h=NULL;
- unsigned short port;
+ unsigned short port
= 0
;
/* Step 1, figure out what address that is requested */