Skip to content

Instantly share code, notes, and snippets.

@roramirez
Created October 24, 2015 20:45
Show Gist options
  • Save roramirez/8726e7587c22c64ec67f to your computer and use it in GitHub Desktop.
Save roramirez/8726e7587c22c64ec67f to your computer and use it in GitHub Desktop.
Debug search filehelper file.c
diff --git a/main/file.c b/main/file.c
index bfad6e0..972e180 100644
--- a/main/file.c
+++ b/main/file.c
@@ -525,6 +525,8 @@ static int filehelper(const char *filename, const void *arg2, const char *fmt, c
struct stat st;
char *fn = build_filename(filename, ext);
+ ast_log(LOG_DEBUG, "Search file %s \n", fn);
+
if (fn == NULL)
continue;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment