diff options
Diffstat (limited to 'libfdcore/core.c')
| -rw-r--r-- | libfdcore/core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libfdcore/core.c b/libfdcore/core.c index 23909b7..17d4326 100644 --- a/libfdcore/core.c +++ b/libfdcore/core.c @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis <sdecugis@freediameter.net> * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2019, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * @@ -315,6 +315,8 @@ static int fd_core_start_int(void) int fd_core_start(void) { int ret; + CHECK_FCT( fd_queues_init_after_conf() ); + CHECK_POSIX( pthread_mutex_lock(&core_lock) ); ret = fd_core_start_int(); CHECK_POSIX( pthread_mutex_unlock(&core_lock) ); @@ -326,7 +328,7 @@ int fd_core_shutdown(void) { enum core_state cur_state = core_state_get(); - LOG_F("Initiating freeDiameter shutdown sequence (%d)", cur_state); + LOG_N("Initiating freeDiameter shutdown sequence (%d)", cur_state); if (cur_state < CORE_RUNNING) { /* Calling application must make sure the initialization is not ongoing in a separate thread... */ |
