Skip to content
Snippets Groups Projects
Commit 491a63b5 authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

Prevent it from crashing.

parent 9ad5246a
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,7 @@ void lutil_log_int(FILE* file, char *subsys, int level, const char *fmt, va_list
*/
for( i = 0; i < numLevels; i++ )
{
if ( levelArray[i] == NULL ) return;
if ( ! strcasecmp( levelArray[i]->subsystem, subsys ) ) break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment