aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-07 22:17:15 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-07 22:17:15 +0200
commit12e17c24c59d2f791b3182661e81cb1b5aabad52 (patch)
tree9bd1e10dd61127b2ae859b729058e9eda72e7bc3 /src
parentuse more macros and do not du null-check before free:ing, free does that for us (diff)
downloadmds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.gz
mds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.bz2
mds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index df18d0f..32024a3 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -272,7 +272,7 @@
/**
- * `malloc` wrapper that returns whether the allocation was successful
+ * `malloc` wrapper that returns whether the allocation was not successful
*
* @param var The variable to which to assign the allocation
* @param elements The number of elements to allocate
@@ -284,7 +284,7 @@
/**
- * `calloc` wrapper that returns whether the allocation was successful
+ * `calloc` wrapper that returns whether the allocation was not successful
*
* @param var The variable to which to assign the allocation
* @param elements The number of elements to allocate