diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-20 15:22:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-20 15:22:36 +0000 |
commit | 80959e30ce7c57b5865f5358c42a7bcffe450d4d (patch) | |
tree | b740c16852fea65d00f8acfc751765ae7aafbbb4 /src/util/inotify.c | |
parent | Releasing progress-linux version 2.9.4-2~progress7.99u2. (diff) | |
download | sssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.tar.xz sssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.zip |
Merging upstream version 2.9.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/util/inotify.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util/inotify.c b/src/util/inotify.c index a3c33ed..8192cfd 100644 --- a/src/util/inotify.c +++ b/src/util/inotify.c @@ -233,9 +233,13 @@ static errno_t process_dir_event(struct snotify_ctx *snctx, { errno_t ret; + if (in_event->len == 0) { + DEBUG(SSSDBG_TRACE_FUNC, "Not interested in nameless event\n"); + return EOK; + } + DEBUG(SSSDBG_TRACE_ALL, "inotify name: %s\n", in_event->name); - if (in_event->len == 0 \ - || strcmp(in_event->name, snctx->base_name) != 0) { + if (strcmp(in_event->name, snctx->base_name) != 0) { DEBUG(SSSDBG_TRACE_FUNC, "Not interested in %s\n", in_event->name); return EOK; } |