diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-28 19:22:13 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-28 19:22:13 +0000 |
commit | d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc (patch) | |
tree | 07bf231018571a695d5836094836057a0387d736 /src/common | |
parent | 5b2bc3e1c6914d9cce55ddf483ee61e956e09829 (diff) | |
download | hercules-d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc.tar.gz hercules-d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc.tar.bz2 hercules-d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc.tar.xz hercules-d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc.zip |
- The memory leak reports will now print out in the logs also the revision they belong to.
- Cleaned up the scriptable npc-shop code, it should be crash-proof now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8525 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c index db76974b5..f06fe00ca 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -583,7 +583,7 @@ static void memmgr_log (char *buf) if (!log_fp) {
log_fp = fopen(memmer_logfile,"w");
if (!log_fp) log_fp = stdout;
- fprintf(log_fp, "Memory manager: Memory leaks found.\n");
+ fprintf(log_fp, "Memory manager: Memory leaks found (Revision %s).\n", get_svn_revision());
}
fprintf(log_fp, buf);
return;
|