projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/data_provider.c: Call lcc_flush() before querying the data.
[collection4.git]
/
src
/
graph_ident.c
diff --git
a/src/graph_ident.c
b/src/graph_ident.c
index
abf396d
..
5c513ec
100644
(file)
--- a/
src/graph_ident.c
+++ b/
src/graph_ident.c
@@
-456,6
+456,9
@@
char *ident_to_string (const graph_ident_t *ident) /* {{{ */
{
char buffer[PATH_MAX];
+ if (ident == NULL)
+ return (NULL);
+
buffer[0] = 0;
strlcat (buffer, ident->host, sizeof (buffer));