diff options
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-client.c b/sftp-client.c index 6dcd5de74..88276cd4a 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -20,7 +20,7 @@ | |||
20 | /* XXX: copy between two remote sites */ | 20 | /* XXX: copy between two remote sites */ |
21 | 21 | ||
22 | #include "includes.h" | 22 | #include "includes.h" |
23 | RCSID("$OpenBSD: sftp-client.c,v 1.49 2004/05/19 12:17:33 djm Exp $"); | 23 | RCSID("$OpenBSD: sftp-client.c,v 1.50 2004/06/03 12:22:20 pedro Exp $"); |
24 | 24 | ||
25 | #include "openbsd-compat/sys-queue.h" | 25 | #include "openbsd-compat/sys-queue.h" |
26 | 26 | ||
@@ -992,7 +992,7 @@ do_upload(struct sftp_conn *conn, char *local_path, char *remote_path, | |||
992 | TAILQ_ENTRY(outstanding_ack) tq; | 992 | TAILQ_ENTRY(outstanding_ack) tq; |
993 | }; | 993 | }; |
994 | TAILQ_HEAD(ackhead, outstanding_ack) acks; | 994 | TAILQ_HEAD(ackhead, outstanding_ack) acks; |
995 | struct outstanding_ack *ack; | 995 | struct outstanding_ack *ack = NULL; |
996 | 996 | ||
997 | TAILQ_INIT(&acks); | 997 | TAILQ_INIT(&acks); |
998 | 998 | ||