projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smart plugin: add option to store data using serial number
[collectd.git]
/
src
/
olsrd.c
diff --git
a/src/olsrd.c
b/src/olsrd.c
index
6be7cb5
..
6d22d98
100644
(file)
--- a/
src/olsrd.c
+++ b/
src/olsrd.c
@@
-611,7
+611,7
@@
static int olsrd_read_table (FILE *fh, /* {{{ */
{
/* An empty line ends the table. */
buffer_len = strchomp (buffer);
{
/* An empty line ends the table. */
buffer_len = strchomp (buffer);
- if (buffer_len
<
= 0)
+ if (buffer_len
=
= 0)
{
(*callback) (lineno, /* fields_num = */ 0, /* fields = */ NULL);
break;
{
(*callback) (lineno, /* fields_num = */ 0, /* fields = */ NULL);
break;
@@
-663,7
+663,7
@@
static int olsrd_read (void) /* {{{ */
while (fgets (buffer, sizeof (buffer), fh) != NULL)
{
buffer_len = strchomp (buffer);
while (fgets (buffer, sizeof (buffer), fh) != NULL)
{
buffer_len = strchomp (buffer);
- if (buffer_len
<
= 0)
+ if (buffer_len
=
= 0)
continue;
if (strcmp ("Table: Links", buffer) == 0)
continue;
if (strcmp ("Table: Links", buffer) == 0)