Skip to content

Commit

Permalink
nfc-eventd: fix crash while using nfc-eventd in debug mode
Browse files Browse the repository at this point in the history
git-svn-id: https://nfc-tools.googlecode.com/svn/trunk/nfc-eventd@1138 ba5c3050-9c55-11de-a262-85a698460a8e
  • Loading branch information
neomilium committed Apr 7, 2015
1 parent 57ed6f0 commit 8abd554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ DEBUG_EXTERN void debug_print(int level, const char *file, int line, const char
void _debug_print_tag(const nfc_target* tag);
#define debug_print_tag( X ) \
printf("%s:%s:%d: ", "\033[34mDEBUG", __FILE__, __LINE__); \
_debug_print_tag( X ); \
print_nfc_target(tag, false); \
printf("\033[0m\n")
#else
#define debug_print_tag( X )
Expand Down

0 comments on commit 8abd554

Please sign in to comment.