aboutsummaryrefslogtreecommitdiff
path: root/client/wallet.c
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-07-16 13:43:17 -0700
committerRuss Allbery <eagle@eyrie.org>2014-07-16 13:43:17 -0700
commit6409733ee3b7b1910dc1c166a392cc628834146c (patch)
treee9460f8f2ca0f3676afeed2a9dcf549acfc39b53 /client/wallet.c
parent334ed844cbb5c8f7ea82a94c701a3016dd6950b9 (diff)
parentf8963ceb19cd2b503b981f43a3f8c0f45649989f (diff)
Imported Upstream version 1.1
Diffstat (limited to 'client/wallet.c')
-rw-r--r--client/wallet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/wallet.c b/client/wallet.c
index c5a7877..c3b039f 100644
--- a/client/wallet.c
+++ b/client/wallet.c
@@ -1,8 +1,8 @@
/*
* The client program for the wallet system.
*
- * Written by Russ Allbery <rra@stanford.edu>
- * Copyright 2006, 2007, 2008, 2010
+ * Written by Russ Allbery <eagle@eyrie.org>
+ * Copyright 2006, 2007, 2008, 2010, 2014
* The Board of Trustees of the Leland Stanford Junior University
*
* See LICENSE for licensing terms.
@@ -181,7 +181,7 @@ main(int argc, char *argv[])
else if (argc < 4)
count++;
}
- command = xmalloc(sizeof(struct iovec) * count);
+ command = xcalloc(count, sizeof(struct iovec));
command[0].iov_base = (char *) options.type;
command[0].iov_len = strlen(options.type);
for (i = 0; i < argc; i++) {