Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-async-module
Commits
343dad2e
Commit
343dad2e
authored
Mar 14, 2016
by
Charles Jacobsen
Browse files
Allow debug toggling.
parent
2f13590c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/common/thc.c
View file @
343dad2e
...
...
@@ -76,11 +76,12 @@
#define DEBUGPRINTF printf
#endif
//#define DEBUG_STATS(XX)
#ifdef NDEBUG
#define DEBUG_STATS(XX)
#else
#define DEBUG_STATS(XX) do{ XX; } while (0)
#define DEBUG_STATS_PREFIX " stats: "
//#define VERBOSE_DEBUG
#endif
#ifdef VERBOSE_DEBUG
#define DEBUG_YIELD(XX) do{ XX; } while (0)
...
...
src/common/thcsync.c
View file @
343dad2e
...
...
@@ -31,9 +31,12 @@
#define DEBUGPRINTF debug_printf
#endif
//#define DEBUG_SYNC(XX)
#ifdef NDEBUG
#define DEBUG_SYNC(XX)
#else
#define DEBUG_SYNC(XX) do{ XX; } while (0)
#define DEBUG_SYNC_PREFIX " sync: "
#endif
//......................................................................
//
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment