Code

plugin: Log to stderr if no logger has been registered.
authorSebastian Harl <sh@tokkee.org>
Sun, 20 Apr 2014 12:10:03 +0000 (14:10 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 20 Apr 2014 12:10:03 +0000 (14:10 +0200)
commit7bb760247e39c8e46f57fb5cc5e6cdbe4833fe7b
tree3ec5bfeeaf8e88c06975bc7f454be4131e699dd0
parenta9f99c057f72b31de1fa718cd6abe1ea5005ee28
plugin: Log to stderr if no logger has been registered.

Check the length of the list rather than replying on it being uninitialized.
src/core/plugin.c