INN commit: branches/2.6/lib (xmalloc.c)

INN Commit rra at isc.org
Thu Dec 10 20:47:08 UTC 2015


    Date: Thursday, December 10, 2015 @ 12:47:08
  Author: iulius
Revision: 9975

Update to latest 5.9 release of rra-c-util

Just a typo in a comment.

Modified:
  branches/2.6/lib/xmalloc.c

-----------+
 xmalloc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: xmalloc.c
===================================================================
--- xmalloc.c	2015-12-10 20:46:27 UTC (rev 9974)
+++ xmalloc.c	2015-12-10 20:47:08 UTC (rev 9975)
@@ -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