Mercurial > cpython-lru_cache-weakref
diff Modules/syslogmodule.c @ 42811:2c2e905894a3
Whoops, not sure how I screwed up the name. Now builds and passes the test.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 25 Aug 2007 00:29:58 +0000 |
| parents | 776b8bd68b30 |
| children | f324631462a2 |
line wrap: on
line diff
--- a/Modules/syslogmodule.c Sat Aug 25 00:21:36 2007 +0000 +++ b/Modules/syslogmodule.c Sat Aug 25 00:29:58 2007 +0000 @@ -90,10 +90,10 @@ int priority = LOG_INFO; if (!PyArg_ParseTuple(args, "iU;[priority,] message string", - &priority, &message_objecct)) { + &priority, &message_object)) { PyErr_Clear(); if (!PyArg_ParseTuple(args, "U;[priority,] message string", - &message_objecct)) + &message_object)) return NULL; }
