diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-08 16:04:58 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-08 16:04:58 +0000 |
commit | 3a13c8794a9161a3e2c132be9e41e29e1f14af8f (patch) | |
tree | 6abd61eb86861dd456098e5b9ff17cb483825ef2 /dsp.c | |
parent | e2562a98e3035c94328f73292f8cbbaeb5cf5017 (diff) |
Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@58388 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dsp.c')
-rw-r--r-- | dsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1292,9 +1292,11 @@ int ast_dsp_busydetect(struct ast_dsp *dsp) } #endif #if 1 +#ifndef BUSYDETECT_TONEONLY if (res) ast_log(LOG_DEBUG, "ast_dsp_busydetect detected busy, avgtone: %d, avgsilence %d\n", avgtone, avgsilence); #endif +#endif return res; } #endif |