]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix typo that prevented older SD from working with DIR
authorKern Sibbald <kern@sibbald.com>
Thu, 17 Sep 2009 19:23:54 +0000 (21:23 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 17 Sep 2009 19:23:54 +0000 (21:23 +0200)
bacula/src/stored/job.c

index a69051ea93381358f0bb71afa87d42355d00943b..591dc6fa4ed19aee748a88b242e7708703c1284e 100644 (file)
@@ -103,7 +103,7 @@ bool job_cmd(JCR *jcr)
               &Resched);
    if (stat != 15) {
       /* Try old version */
-      stat = sscanf(dir->msg, jobcmd, &JobId, job.c_str(), job_name.c_str(),
+      stat = sscanf(dir->msg, oldjobcmd, &JobId, job.c_str(), job_name.c_str(),
                  client_name.c_str(),
                  &JobType, &level, fileset_name.c_str(), &no_attributes,
                  &spool_attributes, fileset_md5.c_str(), &spool_data,