From: VMware, Inc <> Date: Tue, 26 Apr 2011 21:12:18 +0000 (-0700) Subject: TBB: really simplify stubbed Msg_AppendMsgList X-Git-Tag: 2011.04.25-402641~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e26c81ed31d3f99d984f2425d57b81913495013b;p=thirdparty%2Fopen-vm-tools.git TBB: really simplify stubbed Msg_AppendMsgList This simplified version just prints MSGIDs. I'll look at the problem in more detail once Tinderbox is green again. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/stubs/stub-user-msg.c b/open-vm-tools/lib/stubs/stub-user-msg.c index 05ee84a3a..539265ccf 100644 --- a/open-vm-tools/lib/stubs/stub-user-msg.c +++ b/open-vm-tools/lib/stubs/stub-user-msg.c @@ -26,7 +26,6 @@ #if defined(_WIN32) # include #endif -#include #include "vm_assert.h" #include "msg.h" #include "str.h" @@ -35,9 +34,9 @@ void Msg_AppendMsgList(const MsgList *msgs) { - char *str = MsgList_ToString(msgs); - Warning("%s [STUB]: %s\n", __FUNCTION__, str); - free(str); + while (msgs != NULL) { + Warning("%s [STUB]: %s\n", __FUNCTION__, msgs->id); + } }