]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix typo reported in bug #1585
authorKern Sibbald <kern@sibbald.com>
Sun, 30 May 2010 09:18:54 +0000 (11:18 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:51 +0000 (16:53 +0200)
bacula/src/dird/pythondir.c

index c804a3d7178f9d8de8579103528fc98ba6111918..12bfc6a2c82cbfb5f70d0ef41d2d7ef77e7aaf0a 100644 (file)
@@ -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);