X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/00a8b95ada5b1bf6d4dae66249c075a691c630b2..85f15f07a01fc508f88fbbd2f1c3b61ec888cdd8:/group.c diff --git a/group.c b/group.c index 001eb19..1f733a0 100644 --- a/group.c +++ b/group.c @@ -1,7 +1,5 @@ /* -*-c-*- * - * $Id$ - * * Abstract group inteface * * (c) 2004 Straylight/Edgeware @@ -227,7 +225,7 @@ static PyObject *namedgroups(const pentry *pp, int *ne) } c = PyInt_FromLong(i); found: - PyDict_SetItemString(d, (/*unconst*/ char *)pp[i].name, c); + PyDict_SetItemString(d, (/*unconst*/ char *)p, c); Py_DECREF(c); } *ne = i;