[asterisk-commits] ivaxer: branch ivaxer/ast_storage r266434 - /team/ivaxer/ast_storage/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat May 29 11:05:55 CDT 2010
Author: ivaxer
Date: Sat May 29 11:05:53 2010
New Revision: 266434
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266434
Log:
Added initialization of the storage engine in asterisk.c
Modified:
team/ivaxer/ast_storage/main/asterisk.c
Modified: team/ivaxer/ast_storage/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/ivaxer/ast_storage/main/asterisk.c?view=diff&rev=266434&r1=266433&r2=266434
==============================================================================
--- team/ivaxer/ast_storage/main/asterisk.c (original)
+++ team/ivaxer/ast_storage/main/asterisk.c Sat May 29 11:05:53 2010
@@ -129,6 +129,7 @@
#include "asterisk/lock.h"
#include "asterisk/utils.h"
#include "asterisk/file.h"
+#include "asterisk/storage.h"
#include "asterisk/io.h"
#include "editline/histedit.h"
#include "asterisk/config.h"
@@ -3664,6 +3665,11 @@
exit(1);
}
+ if (ast_storage_engine_init()) {
+ printf("%s", term_quit());
+ exit(1);
+ }
+
if (load_pbx()) {
printf("%s", term_quit());
exit(1);
More information about the asterisk-commits
mailing list