[svn-commits] russell: branch russell/ast_verbose_threadstorage
r38403 - in /team/russell/a...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jul 27 21:51:02 MST 2006
Author: russell
Date: Thu Jul 27 23:51:02 2006
New Revision: 38403
URL: http://svn.digium.com/view/asterisk?rev=38403&view=rev
Log:
there is no need for close_logger() anymore since it doesn't do anything
Modified:
team/russell/ast_verbose_threadstorage/asterisk.c
team/russell/ast_verbose_threadstorage/include/asterisk.h
team/russell/ast_verbose_threadstorage/logger.c
Modified: team/russell/ast_verbose_threadstorage/asterisk.c
URL: http://svn.digium.com/view/asterisk/team/russell/ast_verbose_threadstorage/asterisk.c?rev=38403&r1=38402&r2=38403&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/asterisk.c (original)
+++ team/russell/ast_verbose_threadstorage/asterisk.c Thu Jul 27 23:51:02 2006
@@ -1154,9 +1154,6 @@
ast_verbose("Restarting Asterisk NOW...\n");
restartnow = 1;
- /* close logger */
- close_logger();
-
/* If there is a consolethread running send it a SIGHUP
so it can execvp, otherwise we can do it ourselves */
if ((consolethread != AST_PTHREADT_NULL) && (consolethread != pthread_self())) {
@@ -1166,9 +1163,6 @@
} else
execvp(_argv[0], _argv);
- } else {
- /* close logger */
- close_logger();
}
exit(0);
}
Modified: team/russell/ast_verbose_threadstorage/include/asterisk.h
URL: http://svn.digium.com/view/asterisk/team/russell/ast_verbose_threadstorage/include/asterisk.h?rev=38403&r1=38402&r2=38403&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/include/asterisk.h (original)
+++ team/russell/ast_verbose_threadstorage/include/asterisk.h Thu Jul 27 23:51:02 2006
@@ -54,7 +54,6 @@
int load_modules(const int preload_only); /*!< Provided by module.c */
int load_pbx(void); /*!< Provided by pbx.c */
int init_logger(void); /*!< Provided by logger.c */
-void close_logger(void); /*!< Provided by logger.c */
int reload_logger(int); /*!< Provided by logger.c */
int init_framer(void); /*!< Provided by frame.c */
int term_init(void); /*!< Provided by term.c */
Modified: team/russell/ast_verbose_threadstorage/logger.c
URL: http://svn.digium.com/view/asterisk/team/russell/ast_verbose_threadstorage/logger.c?rev=38403&r1=38402&r2=38403&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/logger.c (original)
+++ team/russell/ast_verbose_threadstorage/logger.c Thu Jul 27 23:51:02 2006
@@ -627,11 +627,6 @@
ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "%s", "");
}
return res;
-}
-
-void close_logger(void)
-{
- return;
}
static void ast_log_vsyslog(int level, const char *file, int line, const char *function, const char *fmt, va_list args)
More information about the svn-commits
mailing list