mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 09:48:01 +08:00
Rename mg_log_set_fn properly
This commit is contained in:
parent
9760b7c9d6
commit
2d5c26d44f
@ -2259,7 +2259,7 @@ static void default_logger(unsigned char c) {
|
||||
static const char *s_spec = "2";
|
||||
static void (*s_log_func)(unsigned char) = default_logger;
|
||||
|
||||
void mg_log_set_callback(void (*fn)(unsigned char)) {
|
||||
void mg_log_set_fn(void (*fn)(unsigned char)) {
|
||||
s_log_func = fn;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user