catacomb/pwsafe.py, pwsafe: Replace `PW''s MODE parameter with WRITEP flag.
[catacomb-python] / rand.c
diff --git a/rand.c b/rand.c
index fee2a9b..3bcd0a9 100644 (file)
--- a/rand.c
+++ b/rand.c
@@ -1,7 +1,5 @@
 /* -*-c-*-
  *
- * $Id$
- *
  * Random-number generators
  *
  * (c) 2004 Straylight/Edgeware
@@ -980,7 +978,7 @@ static PyObject *dsarand_pynew(PyTypeObject *ty, PyObject *arg, PyObject *kw)
     goto end;
   rc = grand_dopywrap(ty, dsarand_create(p, sz), f_freeme);
 end:
-  return (0);
+  return (rc);
 }
 
 static PyObject *drget_seed(PyObject *me, void *hunoz)