Commit 77c39b1e authored by Benjamin REIS's avatar Benjamin REIS

fix

parent e8d1033f
......@@ -52,7 +52,7 @@ void bctbx_init_logger(void){
BctoolboxLogHandler* handler;
bctbx_mutex_init(&__bctbx_logger.domains_mutex, NULL);
handler = (BctoolboxLogHandler*)malloc(sizeof(BctoolboxLogHandler));;
handler->func=(BctoolboxLogFunc)bctbx_logv_out;
handler->func=(BctoolboxLogHandlerFunc)bctbx_logv_out;
handler->user_info=NULL;
bctbx_add_log_handler(handler);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment