From eb50a5659214a8f775c18dd85ba27c9a1489891a Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Sat, 28 Aug 2010 00:19:52 +0200 Subject: [PATCH] feature #307: Get driver messages when an action succeeds (cherry picked from commit 585ab84862b7e964649079633206fb6f7899bb10) --- src/authm/AuthManagerDriver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authm/AuthManagerDriver.cc b/src/authm/AuthManagerDriver.cc index b45d42cda9..d37e07fd57 100644 --- a/src/authm/AuthManagerDriver.cc +++ b/src/authm/AuthManagerDriver.cc @@ -100,9 +100,10 @@ void AuthManagerDriver::protocol( else return; + getline(is,info); + if (action == "LOG") { - getline(is,info); NebulaLog::log("AuM",Log::INFO,info.c_str()); } else if (result == "SUCCESS") @@ -111,7 +112,6 @@ void AuthManagerDriver::protocol( } else { - getline(is,info); authm->notify_request(id,false,info); }