From 87cb659dc2029693b05b4b9b49a1a96f1058bf51 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Thu, 3 Jul 2014 17:38:47 -0700 Subject: [PATCH] errbuf issue again --- common/database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/database.cpp b/common/database.cpp index ffc493c2b..83daf8657 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -869,7 +869,7 @@ void Database::GetCharName(uint32 char_id, char* name) { if (!results.Success()) { - std::cerr << "Error in GetCharName query '" << query << "' " << errbuf << std::endl; + std::cerr << "Error in GetCharName query '" << query << "' " << results.ErrorMessage() << std::endl; safe_delete_array(query); return; }