From 0bf533f7534e84a23b5b9c8a5ca45e67c1cc3f00 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 16 Oct 2011 16:28:12 +0300 Subject: Switch more stuff to use the logging thing and fix segfault on player leave from server as introduced in a previous switch-to-logging commit --- src/nodemetadata.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/nodemetadata.cpp') diff --git a/src/nodemetadata.cpp b/src/nodemetadata.cpp index 3edf6d3c2..6fbfc2dba 100644 --- a/src/nodemetadata.cpp +++ b/src/nodemetadata.cpp @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "inventory.h" #include #include "content_mapnode.h" +#include "log.h" /* NodeMetadata @@ -55,7 +56,7 @@ NodeMetadata* NodeMetadata::deSerialize(std::istream &is) if(n == NULL) { // If factory is not found, just return. - dstream<<"WARNING: NodeMetadata: No factory for typeId=" + infostream<<"WARNING: NodeMetadata: No factory for typeId=" < 1) { - dstream<<__FUNCTION_NAME<<": version "<