git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfixing
[tpg/acess2.git]
/
Modules
/
IPStack
/
link.c
diff --git
a/Modules/IPStack/link.c
b/Modules/IPStack/link.c
index
6cdb2bc
..
d914570
100644
(file)
--- a/
Modules/IPStack/link.c
+++ b/
Modules/IPStack/link.c
@@
-52,7
+52,10
@@
void Link_RegisterType(Uint16 Type, tPacketCallback Callback)
{
tmp = realloc(gaRegisteredTypes, (giRegisteredTypes+1)*sizeof(*gaRegisteredTypes));
if(!tmp) {
- Log_Warning("NET", "Out of heap space!");
+ Log_Warning("NET",
+ "Out of heap space! (Attempted to allocate %i)",
+ (giRegisteredTypes+1)*sizeof(*gaRegisteredTypes)
+ );
return ;
}
i = giRegisteredTypes;
UCC
git Repository :: git.ucc.asn.au