summaryrefslogtreecommitdiff
path: root/libftpconn/reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'libftpconn/reply.c')
-rw-r--r--libftpconn/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libftpconn/reply.c b/libftpconn/reply.c
index d39cdb02..a3eb4cf3 100644
--- a/libftpconn/reply.c
+++ b/libftpconn/reply.c
@@ -151,8 +151,8 @@ ftp_conn_get_raw_reply (struct ftp_conn *conn, int *reply,
do
{
- const char *l;
- size_t len;
+ const char *l = NULL;
+ size_t len = 0;
error_t err = ftp_conn_getline (conn, &l, &len);
if (err)