Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Return anonymous UUID if sysctl didn't find anything
  • Loading branch information
Shawn Webb committed May 8, 2014
1 parent b77b7c1 commit 9e47301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libclamav/stats.c
Expand Up @@ -595,6 +595,8 @@ char *clamav_stats_get_hostid(void *cbdata)

return buf;
}

return strdup(STATS_ANON_UUID);
#else
buf = internal_get_host_id();
if (!(buf))
Expand Down

0 comments on commit 9e47301

Please sign in to comment.