projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs_stats: Do not create bridge if it has not be monitored.
[collectd.git]
/
src
/
uuid.c
diff --git
a/src/uuid.c
b/src/uuid.c
index
39b1fe6
..
c7878c7
100644
(file)
--- a/
src/uuid.c
+++ b/
src/uuid.c
@@
-42,13
+42,10
@@
static char *uuidfile;
static const char *config_keys[] = {"UUIDFile"};
static int looks_like_a_uuid(const char *uuid) {
- int len;
-
if (!uuid)
return 0;
- len = strlen(uuid);
-
+ size_t len = strlen(uuid);
if (len < UUID_PRINTABLE_COMPACT_LENGTH)
return 0;