]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/expand.c
Cleanup new timeout code for bconsole
[bacula/bacula] / bacula / src / dird / expand.c
index bf1cb26ec6b5b773c8b77fd9c2701f716c22b06f..85cee39a8c9b4dab3cf3c3deaa714285004ee71f 100644 (file)
@@ -93,10 +93,10 @@ static int job_item(JCR *jcr, int code,
       str = my_name;
       break;
    case 3:                            /* level */
-      str = job_level_to_str(jcr->JobLevel);
+      str = job_level_to_str(jcr->get_JobLevel());
       break;
    case 4:                            /* type */
-      str = job_type_to_str(jcr->JobType);
+      str = job_type_to_str(jcr->get_JobType());
       break;
    case 5:                            /* JobId */
       bsnprintf(buf, sizeof(buf), "%d", jcr->JobId);