From: Kern Sibbald Date: Sun, 30 May 2010 09:18:54 +0000 (+0200) Subject: Fix typo reported in bug #1585 X-Git-Tag: Release-7.0.0~1792 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=280d69199a6cb6a059c3a7c1aeebb6907a90822d;p=bacula%2Fbacula Fix typo reported in bug #1585 --- diff --git a/bacula/src/dird/pythondir.c b/bacula/src/dird/pythondir.c index c804a3d717..12bfc6a2c8 100644 --- a/bacula/src/dird/pythondir.c +++ b/bacula/src/dird/pythondir.c @@ -202,7 +202,7 @@ PyObject *job_getattr(PyObject *self, char *attrname) buf[1] = 0; buf[0] = jcr->FDJobStatus; return Py_BuildValue((char *)getvars[i].fmt, buf); - case 29: /* SDJobStatus */ + case 20: /* SDJobStatus */ buf[1] = 0; buf[0] = jcr->SDJobStatus; return Py_BuildValue((char *)getvars[i].fmt, buf);