diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 14:23:35 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 14:23:35 +0000 |
commit | 042de68ee53d118dbe352431c981acf0a6574246 (patch) | |
tree | df9f0914c00ccc6f038b5151176b25d01fe48f6f /include | |
parent | e0e96f012448ba515bfd307f588efce87874da0d (diff) |
This already adds the file and line number itself, call do_log() rather than log() then
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4084 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 726d77533..8be2874dc 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -42,7 +42,7 @@ */ #define IS_SINGLE(x,y) ( (*x == y) && (*(x+1) == 0) ) -#define DELETE(x) { log(DEBUG,"%s:%d: delete()",__FILE__,__LINE__); if (x) { delete x; x = NULL; } else log(DEBUG,"Attempt to delete NULL pointer!"); } +#define DELETE(x) { do_log(DEBUG,"%s:%d: delete()",__FILE__,__LINE__); if (x) { delete x; x = NULL; } else log(DEBUG,"Attempt to delete NULL pointer!"); } template<typename T> inline std::string ConvToStr(const T &in) { |