projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipmask_parse: Reject a full IPv6 address followed by ::.
[ircu2.10.12-pk.git]
/
ircd
/
ircd_alloc.c
diff --git
a/ircd/ircd_alloc.c
b/ircd/ircd_alloc.c
index 5dd4ef7fccd183f91e4594a223ea1d703643b843..1fc87fa8769219b84d942d9b389a5cc6dbd7f6eb 100644
(file)
--- a/
ircd/ircd_alloc.c
+++ b/
ircd/ircd_alloc.c
@@
-57,6
+57,7
@@
set_nomem_handler(OutOfMemoryHandler handler)
noMemHandler = handler;
}
+#ifndef MDEBUG
/** Allocate memory.
* @param[in] size Number of bytes to allocate.
* @param[in] x Type of allocation (ignored).
@@
-101,3
+102,4
@@
void* DoRealloc(void *orig, size_t size, const char *file, int line)
(*noMemHandler)();
return t;
}
+#endif