diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-08-03 12:30:27 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-08-03 12:30:27 +0000 |
| commit | a48ea77194fc5c74ce8cbe13536975a8ebce1b0b (patch) | |
| tree | e2eb46eef5dd230915305050c69bbe0b8961d98c /PICA_log.c | |
| parent | e81efe9708f5f6c34ed87335b0176a0b734e9e5a (diff) | |
| download | pica-pica-a48ea77194fc5c74ce8cbe13536975a8ebce1b0b.tar.gz pica-pica-a48ea77194fc5c74ce8cbe13536975a8ebce1b0b.zip | |
removed calls to log functions from nodewait_resolve_thread() and nodewait_connect_thread(), log functions are not thread safe, calling them caused segfaults
git-svn-id: svn://localhost/project_picapica/trunk@256 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_log.c')
| -rw-r--r-- | PICA_log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,8 @@ #include <stdlib.h> #include <time.h> +//logging functions are not thread-safe, call them only from the main thread + static int PICA_loglevel = PICA_LOG_INFO; void PICA_fatal(const char *fmt,...) |
