diff options
Diffstat (limited to 'src/watcher.c')
-rw-r--r-- | src/watcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watcher.c b/src/watcher.c index 1c67294..f6245db 100644 --- a/src/watcher.c +++ b/src/watcher.c @@ -79,7 +79,7 @@ create_watcher (struct spool *sp, void *data) int ifd = *(int*)data; struct dirwatcher *dwp; int wd; - const char *path = get_path (sp); + const char *path = sp->source_dir; if (!sp) return 0; |