From 2e27960e108aed9ab1f006f0f178639d851b77aa Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Mon, 11 May 2009 18:31:48 +0000 Subject: [PATCH] * Fix another inotify error condition when copying files to the root of the content directory. --- inotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotify.c b/inotify.c index 3585f47..ad7be12 100644 --- a/inotify.c +++ b/inotify.c @@ -355,7 +355,7 @@ inotify_insert_file(char * name, const char * path) if( strcmp(parent_buf, "/") == 0 ) { - id = calloc(1, 3); + id = strdup(BROWSEDIR_ID); depth = 0; break; }