diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 03:37:06 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-29 03:37:06 +0000 |
commit | a206cb48587d11e194e767d37c34cacea08f9977 (patch) | |
tree | e18f947bd157c91e84354f1014ef331ac003bf17 /src/map/clif.c | |
parent | b437e6355bbb522436607b6fcf483fe8449da4b0 (diff) | |
download | hercules-a206cb48587d11e194e767d37c34cacea08f9977.tar.gz hercules-a206cb48587d11e194e767d37c34cacea08f9977.tar.bz2 hercules-a206cb48587d11e194e767d37c34cacea08f9977.tar.xz hercules-a206cb48587d11e194e767d37c34cacea08f9977.zip |
* Some tidying up in mail.c
* Added an invalid pointer check in clif_displaymessage
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1320 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 5d34e0f64..03622cfe3 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4713,6 +4713,9 @@ int clif_status_change(struct block_list *bl,int type,int flag) */ int clif_displaymessage(const int fd, char* mes) { + // invalid pointer? + nullpo_retr(-1, mes); + //Console [Wizputer] if (fd == 0) printf("\033[0;36mConsole: \033[0m\033[1m%s\033[0m\n", mes); |