INN commit: trunk/lib (xmalloc.c)
INN Commit
rra at isc.org
Fri Dec 4 21:07:33 UTC 2015
Date: Friday, December 4, 2015 @ 13:07:32
Author: iulius
Revision: 9961
Update to latest 5.9 release of rra-c-util
Just a typo in a comment.
Modified:
trunk/lib/xmalloc.c
-----------+
xmalloc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: xmalloc.c
===================================================================
--- xmalloc.c 2015-12-04 20:52:27 UTC (rev 9960)
+++ xmalloc.c 2015-12-04 21:07:32 UTC (rev 9961)
@@ -13,7 +13,7 @@
* buffer = xmalloc(1024);
* xrealloc(buffer, 2048);
* free(buffer);
- * buffer = xcalloc(1024);
+ * buffer = xcalloc(1, 1024);
* free(buffer);
* buffer = xstrdup(string);
* free(buffer);
@@ -63,6 +63,7 @@
* The canonical version of this file is maintained in the rra-c-util package,
* which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>.
*
+ * Copyright 2015 Russ Allbery <eagle at eyrie.org>
* Copyright 2012, 2013, 2014
* The Board of Trustees of the Leland Stanford Junior University
* Copyright (c) 2004, 2005, 2006
More information about the inn-committers
mailing list