Module: sip-router Branch: 4.0 Commit: aee55e1bdc9fefd2082ba1e13d88a1ab2c70a37f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aee55e1bdc9fefd2082ba1e13d88a1ab2c70a37f
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: Mon Dec 16 09:26:03 2013 +0100 db_flatstore: update timestamp for kamailio specific rpc rotate - do also in 'rotate' command, not only in 'k_rotate' - from a patch by Abdelkader Allam (cherry picked from commit b15aefa31e45f1ad6a45b64905f9fae24e0f790e) (cherry picked from commit d75bc3b69151a9d0391309e6bb51784f3b6b9a83) --- modules/db_flatstore/flat_rpc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/modules/db_flatstore/flat_rpc.c b/modules/db_flatstore/flat_rpc.c index 2fe0d0f..5145d83 100644 --- a/modules/db_flatstore/flat_rpc.c +++ b/modules/db_flatstore/flat_rpc.c @@ -32,6 +32,7 @@ #include "flat_rpc.h" #include "flatstore_mod.h" +#include "km_flatstore_mod.h" #include <time.h> @@ -43,6 +44,7 @@ */ static void rotate(rpc_t* rpc, void* c) { + *km_flat_rotate = time(0); *flat_rotate = time(0); } _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
