Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/netpgpverify avoid anoth...
details: https://anonhg.NetBSD.org/src/rev/20aaeebb366b
branches: trunk
changeset: 755316:20aaeebb366b
user: agc <agc%NetBSD.org@localhost>
date: Tue Jun 01 06:07:56 2010 +0000
description:
avoid another compiler warning
diffstat:
crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5dd438fe63c2 -r 20aaeebb366b crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c
--- a/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c Tue Jun 01 06:01:29 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c Tue Jun 01 06:07:56 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: verify.c,v 1.12 2010/06/01 06:01:29 agc Exp $ */
+/* $NetBSD: verify.c,v 1.13 2010/06/01 06:07:56 agc Exp $ */
/*-
* Copyright (c) 2009,2010 The NetBSD Foundation, Inc.
@@ -150,7 +150,7 @@
*maxsize = (unsigned)atoi(netpgp_getvar(netpgp, "max mem alloc"));
size = 0;
- *temp = NULL;
+ *out = *temp = NULL;
while ((n = read(STDIN_FILENO, buf, sizeof(buf))) > 0) {
/* round up the allocation */
newsize = size + ((n / BUFSIZ) + 1) * BUFSIZ;
Home |
Main Index |
Thread Index |
Old Index