summaryrefslogtreecommitdiff
path: root/src/python-systemd/id128.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-15 18:10:51 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-19 21:50:43 -0400
commitab3a162c0194fd92884798488eeafdcc5c4d7d57 (patch)
tree8a2191b3059042fbec91259b1ed8e36766b156cb /src/python-systemd/id128.c
parent2b01924cda5257531867119e11ee950741af2ff6 (diff)
systemd-python: small cleanups
- separate methods with two empty lines for clarity - avoid malloc(0) by specyfing private data size as -1 - add method name in error messages
Diffstat (limited to 'src/python-systemd/id128.c')
-rw-r--r--src/python-systemd/id128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/id128.c b/src/python-systemd/id128.c
index a6711a5bd5..865cc3ce22 100644
--- a/src/python-systemd/id128.c
+++ b/src/python-systemd/id128.c
@@ -134,7 +134,7 @@ static struct PyModuleDef module = {
PyModuleDef_HEAD_INIT,
"id128", /* name of module */
module__doc__, /* module documentation, may be NULL */
- 0, /* size of per-interpreter state of the module */
+ -1, /* size of per-interpreter state of the module */
methods
};