]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/dnsmasq/0049-Typos.patch
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
[ipfire-2.x.git] / src / patches / dnsmasq / 0049-Typos.patch
1 From 8ff70de618eb7de9147dbfbd4deca4a2dd62f0cb Mon Sep 17 00:00:00 2001
2 From: Simon Kelley <simon@thekelleys.org.uk>
3 Date: Sat, 14 Feb 2015 20:02:37 +0000
4 Subject: [PATCH 49/71] Typos.
5
6 ---
7 src/inotify.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10 diff --git a/src/inotify.c b/src/inotify.c
11 index 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 --
25 2.1.0
26