From 162353214552a9345c3cfc7fd4306300aa6e1e66 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 23 Apr 2008 18:02:34 +0000 Subject: [PATCH] fixed return value to always return array git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@909 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/webconference/WebConference.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/webconference/WebConference.cpp b/apps/webconference/WebConference.cpp index 1037a1a8..3fa23dca 100644 --- a/apps/webconference/WebConference.cpp +++ b/apps/webconference/WebConference.cpp @@ -571,7 +571,9 @@ void WebConferenceFactory::listRooms(const AmArg& args, AmArg& ret) { if ((!MasterPassword.length()) || pwd != MasterPassword) { ret.push(407); - ret.push("Wrong Master Password.\n"); + AmArg res; + res.push("Wrong Master Password.\n"); + ret.push(res); return; }