Skip to content
Snippets Groups Projects
Commit 8c168643 authored by clohr's avatar clohr
Browse files

Affiche les messages qui ont des erreurs.

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/C/trunk@1348 b32b6428-25c9-4566-ad07-03861ab6144f
parent 68a061a9
No related branches found
No related tags found
No related merge requests found
......@@ -273,8 +273,11 @@ bool xAAL_read_bus(const xAAL_businfo_t *bus,
if ( !*source || (strlen(*source) != 36) ) /* Size of an uuid */
r = false;
if ( r == false )
if ( r == false ) {
if (xAAL_error_log)
fprintf(xAAL_error_log, "Source: %s\nMessage:\n%.*s\n", *ip, *nread, buf);
json_object_put(*jmsg);
}
return r;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment