diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-04-26 10:12:26 -0700 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2018-04-26 19:12:26 +0200 |
commit | 221f783ea1caaaab2f5ceadc6b0fb3e720aac3df (patch) | |
tree | 1ecf89faa1dfa550477669b05ef5c36e9864f68a /navit/callback.c | |
parent | 011bb15468b4cb626e9facecba924b04bd494d7f (diff) | |
download | navit-221f783ea1caaaab2f5ceadc6b0fb3e720aac3df.tar.gz |
Fix:debug:Change line separators for dbg to work also on win* platform (#546)
* Fix:debug:Change line separators for dbg to work also on win* platform
* Fix:debug:Break multiline dbg statements to use the new model
* Fix:debug:Move the EOL into debug_vprintf
Diffstat (limited to 'navit/callback.c')
-rw-r--r-- | navit/callback.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/callback.c b/navit/callback.c index 293fab0af..e66f13b99 100644 --- a/navit/callback.c +++ b/navit/callback.c @@ -145,13 +145,13 @@ callback_call(struct callback *cb, int pcount, void **p) if (! cb) return; if (cb->pcount + pcount <= 8) { - dbg(lvl_debug,"cb->pcount=%d\n", cb->pcount); + dbg(lvl_debug,"cb->pcount=%d", cb->pcount); if (cb->pcount && cb->p) - dbg(lvl_debug,"cb->p[0]=%p\n", cb->p[0]); - dbg(lvl_debug,"pcount=%d\n", pcount); + dbg(lvl_debug,"cb->p[0]=%p", cb->p[0]); + dbg(lvl_debug,"pcount=%d", pcount); if (pcount) { dbg_assert(p!=NULL); - dbg(lvl_debug,"p[0]=%p\n", p[0]); + dbg(lvl_debug,"p[0]=%p", p[0]); } for (i = 0 ; i < cb->pcount ; i++) pf[i]=cb->p[i]; @@ -195,7 +195,7 @@ callback_call(struct callback *cb, int pcount, void **p) break; } } else { - dbg(lvl_error,"too many parameters for callback (%d+%d)\n", cb->pcount, pcount); + dbg(lvl_error,"too many parameters for callback (%d+%d)", cb->pcount, pcount); } } |