From: Kern Sibbald Date: Sun, 30 May 2010 09:18:54 +0000 (+0200) Subject: Fix typo reported in bug #1585 X-Git-Tag: Release-5.0.3~169 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cf2eb7c4d819d8c8ab602dcf37d8b154958265d;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);