diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-06-17 18:40:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 18:40:13 -0700 |
commit | 56f98620bb46560cf2cb37c409cbdf3e80986812 (patch) | |
tree | 74e310007478032b89f2aea412c0b4a2eed96bc2 /src/core | |
parent | fa1433a4b6b0d6bbe817b4ab5f51f6167ecd837a (diff) | |
parent | 7b4dc532dd37271f883f9b30f28c7dd50baf41cb (diff) |
Merge pull request #6863 from vjpai/wheezy
Make C++ compile and run under gcc-4.4
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/support/log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/lib/support/log.c b/src/core/lib/support/log.c index 882abf673c..bae0957df7 100644 --- a/src/core/lib/support/log.c +++ b/src/core/lib/support/log.c @@ -96,4 +96,6 @@ void gpr_log_verbosity_init() { } } -void gpr_set_log_function(gpr_log_func f) { g_log_func = f; } +void gpr_set_log_function(gpr_log_func f) { + g_log_func = f ? f : gpr_default_log; +} |