]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/dnsmasq/0049-Typos.patch
dnsmasq: Import patches from upstream
[ipfire-2.x.git] / src / patches / dnsmasq / 0049-Typos.patch
CommitLineData
6644c1c7
MT
1From 8ff70de618eb7de9147dbfbd4deca4a2dd62f0cb Mon Sep 17 00:00:00 2001
2From: Simon Kelley <simon@thekelleys.org.uk>
3Date: Sat, 14 Feb 2015 20:02:37 +0000
efbd3a9a 4Subject: [PATCH 49/98] Typos.
6644c1c7
MT
5
6---
7 src/inotify.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/src/inotify.c b/src/inotify.c
11index 44ce0c9af051..9422066257f5 100644
12--- a/src/inotify.c
13+++ b/src/inotify.c
14@@ -104,7 +104,8 @@ void set_dynamic_inotify(int flag, int total_size, struct crec **rhash, int revh
15 ah->wd = inotify_add_watch(daemon->inotifyfd, ah->fname, IN_CLOSE_WRITE | IN_MOVED_TO);
16 ah->flags |= AH_WD_DONE;
17 }
18- /* Read contents of dir _after_ calling add_watch, in the ho[e of avoiding
19+
20+ /* Read contents of dir _after_ calling add_watch, in the hope of avoiding
21 a race which misses files being added as we start */
22 if (ah->wd == -1 || !(dir_stream = opendir(ah->fname)))
23 {
24--
252.1.0
26