diff options
Diffstat (limited to 'client/wallet.c')
-rw-r--r-- | client/wallet.c | 6 |
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++) { |