projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial support of GPSd in collectd.
[collectd.git]
/
src
/
daemon
/
common.c
diff --git
a/src/daemon/common.c
b/src/daemon/common.c
index
4720399
..
b244808
100644
(file)
--- a/
src/daemon/common.c
+++ b/
src/daemon/common.c
@@
-514,7
+514,7
@@
int escape_slashes (char *buffer, size_t buffer_size)
buffer_len--;
}
- for (i = 0; i < buffer_len
- 1
; i++)
+ for (i = 0; i < buffer_len; i++)
{
if (buffer[i] == '/')
buffer[i] = '_';