Mercurial > hg > freeDiameter
changeset 1307:7a2ab0087788
Remerged proposed branch
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Sun, 18 Sep 2016 20:36:51 +0800 |
parents | 84a3c9c4b834 (current diff) 0d15dad33f0b (diff) |
children | 19d01728f26f |
files | extensions/dbg_msg_dumps/dbg_msg_dumps.c libfdcore/hooks.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/dbg_msg_dumps/dbg_msg_dumps.c Sun Sep 18 20:32:21 2016 +0800 +++ b/extensions/dbg_msg_dumps/dbg_msg_dumps.c Sun Sep 18 20:36:51 2016 +0800 @@ -92,7 +92,7 @@ case HOOK_MESSAGE_PARSING_ERROR: if (msg) { DiamId_t id = NULL; - if (!fd_msg_source_get( msg, &id, NULL )) + if (fd_msg_source_get( msg, &id, NULL )) id = (DiamId_t)"<error getting source>"; if (!id) id = (DiamId_t)"<local>"; @@ -190,7 +190,7 @@ case HOOK_MESSAGE_PARSING_ERROR: if (msg) { DiamId_t id = NULL; - if (!fd_msg_source_get( msg, &id, NULL )) + if (fd_msg_source_get( msg, &id, NULL )) id = (DiamId_t)"<error getting source>"; if (!id) id = (DiamId_t)"<local>"; @@ -275,7 +275,7 @@ case HOOK_MESSAGE_PARSING_ERROR: if (msg) { DiamId_t id = NULL; - if (!fd_msg_source_get( msg, &id, NULL )) + if (fd_msg_source_get( msg, &id, NULL )) id = (DiamId_t)"<error getting source>"; if (!id) id = (DiamId_t)"<local>";
--- a/libfdcore/hooks.c Sun Sep 18 20:32:21 2016 +0800 +++ b/libfdcore/hooks.c Sun Sep 18 20:36:51 2016 +0800 @@ -364,7 +364,7 @@ case HOOK_MESSAGE_PARSING_ERROR: { if (msg) { DiamId_t id = NULL; - if (!fd_msg_source_get( msg, &id, NULL )) + if (fd_msg_source_get( msg, &id, NULL )) id = (DiamId_t)"<error getting source>"; if (!id)