Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpclient I think I skipped the class where they tau...
details: https://anonhg.NetBSD.org/src/rev/59833645a6fb
branches: trunk
changeset: 762275:59833645a6fb
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Feb 18 16:22:10 2011 +0000
description:
I think I skipped the class where they taught that multiplication
is done before addition...
diffstat:
lib/librumpclient/rumpclient.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d322741aaf57 -r 59833645a6fb lib/librumpclient/rumpclient.c
--- a/lib/librumpclient/rumpclient.c Fri Feb 18 16:12:26 2011 +0000
+++ b/lib/librumpclient/rumpclient.c Fri Feb 18 16:22:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpclient.c,v 1.32 2011/02/16 19:26:58 pooka Exp $ */
+/* $NetBSD: rumpclient.c,v 1.33 2011/02/18 16:22:10 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -1002,7 +1002,7 @@
for (nelem = 0; envp && envp[nelem]; nelem++)
continue;
- newenv = malloc(sizeof(*newenv) * nelem+3);
+ newenv = malloc(sizeof(*newenv) * (nelem+3));
if (newenv == NULL) {
free(envstr2);
free(envstr);
Home |
Main Index |
Thread Index |
Old Index