problems recycling memory
Brittany Dannenberg <[email protected]> Thu, 26 May 2005 19:18:19 -0700 (PDT)
| Newsgroups | gmane.games.devel.mud.rom |
|---|---|
| Message-ID | <[email protected]> |
Hiya,
I got a little bug today in the logs. It didn't crash
the game or anything, but it was doing something it
wasn't meant to do. For the pretitle code I have, it
attempts to rid the the { symbol if it is used so
pretitles cannot be colored but it doesn't work like
it should. The bug said:
Thu May 26 21:13:44 2005 :: [*****] BUG: Attempt to
recyle invalid memory of size 4.
Thu May 26 21:13:44 2005 :: [*****] BUG: {B
Thu May 26 21:13:47 2005 :: [*****] BUG: Attempt to
recyle invalid memory of size 1.
Thu May 26 21:13:47 2005 :: [*****] BUG:
Here is the code I it's talking about:
i = strlen(argument);
if (argument[i-1] == '{' && argument[i-2] != '{')
argument[i-1] = '\0';
Anyone know how to fix? Thanks much.
Brittany.
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom