summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2012-11-27 15:10:27 +0100
committerchristian linke <christian.linke@bmw.de>2012-11-27 15:11:11 +0100
commitaedec2198aeb8e6a7137768ea0156e52d434f4ff (patch)
treec4b92adc3696fd9179a89018e6ed440ec4269820
parent6fc5e30f3334b4601706d0d411c1a8b15090880c (diff)
downloadaudiomanager-aedec2198aeb8e6a7137768ea0156e52d434f4ff.tar.gz
* [Bug 10] - feedback from review . fixed removeSourceDB like suggested in ticket
Signed-off-by: christian linke <christian.linke@bmw.de>
-rw-r--r--AudioManagerDaemon/src/CAmDatabaseHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioManagerDaemon/src/CAmDatabaseHandler.cpp b/AudioManagerDaemon/src/CAmDatabaseHandler.cpp
index 4cb0c13..44a1d0c 100644
--- a/AudioManagerDaemon/src/CAmDatabaseHandler.cpp
+++ b/AudioManagerDaemon/src/CAmDatabaseHandler.cpp
@@ -1287,12 +1287,12 @@ am_Error_e CAmDatabaseHandler::removeSourceDB(const am_sourceID_t sourceID)
return (E_DATABASE_ERROR);
if (!sqQuery(command1))
return (E_DATABASE_ERROR);
- if (!sqQuery(command2))
+ if (!sqQuery(command3))
return (E_DATABASE_ERROR);
if(visible)
{
- if (!sqQuery(command3))
+ if (!sqQuery(command2))
return (E_DATABASE_ERROR);
}
logInfo("DatabaseHandler::removeSourceDB removed:", sourceID);