]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/create_file.c
Add jcr to timer packets so if killed message can be sent to job.
[bacula/bacula] / bacula / src / findlib / create_file.c
index cd032b98173326ab3d25df681c0bf94a257e47e3..ea329d8d87b6ad1eda7f918c4efcdb585c5a31e3 100644 (file)
@@ -269,7 +269,7 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace)
             /* Timeout open() in 60 seconds */
             if (attr->type == FT_FIFO) {
                Dmsg0(400, "Set FIFO timer\n");
-               tid = start_thread_timer(pthread_self(), 60);
+               tid = start_thread_timer(jcr, pthread_self(), 60);
             } else {
                tid = NULL;
             }