diff options
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ int log_init( server_config_t *sc, log_file_t *lf ){ if ( strcmp((const char*)sc->log_enabled->valuestring, "no") == 0 ) return LOG_INIT_SUCCESS; - if ( sc->log_file == NULL || (long long int)strlen(sc->log_file->valuestring) <= 0 ) + if ( sc->log_file == NULL || (int64_t)strlen(sc->log_file->valuestring) <= 0 ) return LOG_INIT_FAILED; lf->log_file = fopen( sc->log_file->valuestring, "a" ); if ( lf->log_file == NULL ) |