summaryrefslogtreecommitdiff
path: root/delta.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-12 14:34:53 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-12 14:43:29 -0300
commitd2e16c9a002e9349628ee6ee935432b39935e378 (patch)
tree818f6323f54fcb49b02da6fe475ab48b5a491228 /delta.c
parent370b28fe91b9683323d02a66949c3519841a65c6 (diff)
downloadeeshow-d2e16c9a002e9349628ee6ee935432b39935e378.tar.gz
eeshow-d2e16c9a002e9349628ee6ee935432b39935e378.tar.bz2
eeshow-d2e16c9a002e9349628ee6ee935432b39935e378.zip
eeshow/: missing components are no longer fatal
Diffstat (limited to 'delta.c')
-rw-r--r--delta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/delta.c b/delta.c
index f407019..fe89233 100644
--- a/delta.c
+++ b/delta.c
@@ -114,6 +114,8 @@ static bool comp_eq(const struct comp *a, const struct comp *b)
{
if (a == b)
return 1;
+ if (!(a && b))
+ return 0;
if (strcmp(a->name, b->name))
return 0;
if (a->units != b->units)