projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
bc38149
)
Auto-Merge pull request #2736 from rpv-tomsk/collectd-collectd-5.8
author
collectd bot
<32910397+collectd-bot@users.noreply.github.com>
Thu, 29 Mar 2018 19:17:13 +0000
(21:17 +0200)
committer
GitHub
<noreply@github.com>
Thu, 29 Mar 2018 19:17:13 +0000
(21:17 +0200)
Automatically merged due to "Automerge" label
src/uuid.c
patch
|
blob
|
history
diff --git
a/src/uuid.c
b/src/uuid.c
index
4846841
..
1cb9027
100644
(file)
--- a/
src/uuid.c
+++ b/
src/uuid.c
@@
-193,7
+193,7
@@
static int uuid_init(void) {
char *uuid = uuid_get_local();
if (uuid) {
-
sstrncpy(hostname_g, uuid, DATA_MAX_NAME_LEN
);
+
hostname_set(uuid
);
sfree(uuid);
return 0;
}