We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f7d19 commit 1abac3cCopy full SHA for 1abac3c
systemd/_reader.c
@@ -918,7 +918,7 @@ PyDoc_STRVAR(Reader_wait__doc__,
918
"See :manpage:`sd_journal_wait(3)` for further discussion.");
919
static PyObject* Reader_wait(Reader *self, PyObject *args) {
920
int r;
921
- int64_t timeout;
+ int64_t timeout = -1;
922
923
if (!PyArg_ParseTuple(args, "|L:wait", &timeout))
924
return NULL;
0 commit comments