projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virt: Fetch block info stats from libvirt only if needed
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
64db698
..
2c62146
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-367,7
+367,7
@@
void cpy_log_exception(const char *context) {
continue;
if (cpy[strlen(cpy) - 1] == '\n')
- cpy[strlen(cpy) - 1] =
0
;
+ cpy[strlen(cpy) - 1] =
'\0'
;
Py_BEGIN_ALLOW_THREADS;
ERROR("%s", cpy);