From: Jaroslav Kysela Date: Wed, 30 Nov 2016 08:25:33 +0000 (+0100) Subject: idnode: show the collision in log, too X-Git-Tag: v4.0.10~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=931ecee52b038454778d8a3af6d60de7a98d5bbb;p=thirdparty%2Ftvheadend.git idnode: show the collision in log, too --- diff --git a/src/idnode.c b/src/idnode.c index 24077f64a..100f08ab6 100644 --- a/src/idnode.c +++ b/src/idnode.c @@ -152,6 +152,8 @@ idnode_insert(idnode_t *in, const char *uuid, const idclass_t *class, int flags) if(c != NULL) { fprintf(stderr, "Id node collision (%s) %s\n", uuid, (flags & IDNODE_SHORT_UUID) ? " (short)" : ""); + tvherror("idnode", "Id node collision (%s) %s\n", + uuid, (flags & IDNODE_SHORT_UUID) ? " (short)" : ""); abort(); } tvhtrace("idnode", "insert node %s", idnode_uuid_as_str(in));