projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e679809
)
python plugin: Fix double declaration of variable.
author
Florian Forster
<octo@collectd.org>
Sat, 6 Aug 2016 18:44:09 +0000
(20:44 +0200)
committer
Florian Forster
<octo@collectd.org>
Sat, 6 Aug 2016 18:44:09 +0000
(20:44 +0200)
This fixes a regression from
92498b8a0e1d50c7e06d435395ac0ac307cc190c
.
src/python.c
patch
|
blob
|
history
diff --git
a/src/python.c
b/src/python.c
index
912c18a
..
24046de
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-222,7
+222,6
@@
static char reg_shutdown_doc[] = "register_shutdown(callback[, data][, name]) ->
static pthread_t main_thread;
static PyOS_sighandler_t python_sigint_handler;
static _Bool do_interactive = 0;
-static int do_interactive = 0;
/* This is our global thread state. Python saves some stuff in thread-local
* storage. So if we allow the interpreter to run in the background