mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
Prevent it from crashing.
This commit is contained in:
parent
9ad5246a9a
commit
491a63b5d4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue