projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snmp plugin: add some missing error handling
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
969a4db
..
64db698
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-257,8
+257,8
@@
static cpy_callback_t *cpy_init_callbacks;
static cpy_callback_t *cpy_shutdown_callbacks;
/* Make sure to hold the GIL while modifying these. */
static cpy_callback_t *cpy_shutdown_callbacks;
/* Make sure to hold the GIL while modifying these. */
-static int cpy_shutdown_triggered
= 0
;
-static int cpy_num_callbacks
= 0
;
+static int cpy_shutdown_triggered;
+static int cpy_num_callbacks;
static void cpy_destroy_user_data(void *data) {
cpy_callback_t *c = data;
static void cpy_destroy_user_data(void *data) {
cpy_callback_t *c = data;