summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2015-02-14 20:02:37 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2015-02-14 20:02:37 +0000
commit8ff70de618eb7de9147dbfbd4deca4a2dd62f0cb (patch)
treeda58d822b0efd2f08bfdb91ff790cd0b6e4bcd4f
parentee4d1cea92b62e6ad185fc7ce52de007e79a6b23 (diff)
downloaddnsmasq-8ff70de618eb7de9147dbfbd4deca4a2dd62f0cb.tar.gz
Typos.
-rw-r--r--src/inotify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inotify.c b/src/inotify.c
index 44ce0c9..9422066 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -104,7 +104,8 @@ void set_dynamic_inotify(int flag, int total_size, struct crec **rhash, int revh
ah->wd = inotify_add_watch(daemon->inotifyfd, ah->fname, IN_CLOSE_WRITE | IN_MOVED_TO);
ah->flags |= AH_WD_DONE;
}
- /* Read contents of dir _after_ calling add_watch, in the ho[e of avoiding
+
+ /* Read contents of dir _after_ calling add_watch, in the hope of avoiding
a race which misses files being added as we start */
if (ah->wd == -1 || !(dir_stream = opendir(ah->fname)))
{