* calculated delay for mainconnection but forgot to update it. This fixes this.
authorChristian Linke <christian.linke@bmw.de>
Tue, 12 Feb 2013 16:47:31 +0000 (17:47 +0100)
committerChristian Linke <christian.linke@bmw.de>
Tue, 12 Feb 2013 16:47:31 +0000 (17:47 +0100)
Signed-off-by: Christian Linke <christian.linke@bmw.de>
AudioManagerDaemon/src/CAmDatabaseHandler.cpp

index f00b5ab..2de067e 100644 (file)
@@ -1018,6 +1018,9 @@ am_Error_e CAmDatabaseHandler::changeMainConnectionRouteDB(const am_mainConnecti
         MY_SQLITE_RESET(query)
     }
 
+    if (changeDelayMainConnection(delay,mainconnectionID)!=E_OK)
+        logError("DatabaseHandler::changeMainConnectionRouteDB error while changing mainConnectionDelay to ", delay);
+
     MY_SQLITE_FINALIZE(query)
     logInfo("DatabaseHandler::changeMainConnectionRouteDB entered new route:", mainconnectionID);
     return (E_OK);