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:10:27 +0100
commit5bdad323a9b70758b1076cdef1622d71325d2e52 (patch)
treec3b285e5b3195eda0800d9fc20e2341a446352b5
parenta03516cbc71e4fcadb6dd8843fa3b5c76b812b3b (diff)
downloadaudiomanager-5bdad323a9b70758b1076cdef1622d71325d2e52.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 2110780..2e2fa7e 100644
--- a/AudioManagerDaemon/src/CAmDatabaseHandler.cpp
+++ b/AudioManagerDaemon/src/CAmDatabaseHandler.cpp
@@ -1288,12 +1288,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);