X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=libatalk%2Futil%2Flogger.c;h=e13ada1750a8019900f9856ea6f8c902a7746768;hp=eb98f45b290d5817461b90498a399bfb5034bbf0;hb=465246e257d9aff9855e3e35d8fd5983db932b45;hpb=38ccba34fde227ceec6253f8537b42ce012da367 diff --git a/libatalk/util/logger.c b/libatalk/util/logger.c index eb98f45b..e13ada17 100644 --- a/libatalk/util/logger.c +++ b/libatalk/util/logger.c @@ -542,6 +542,7 @@ void make_log_entry(enum loglevels loglevel, enum logtypes logtype, if (type_configs[logtype].level >= log_debug) goto log; /* bypass flooding checks */ + goto log; /* Prevent flooding: hash the message and check if we got the same one recently */ int hash = hash_message(temp_buffer) + log_src_linenumber;