From 24aee732a58a8d45acf90cbdf1d0cf30fe603a09 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Fri, 22 Jun 2018 15:07:07 +0200 Subject: [PATCH] filter: make pointers distinguishable This ammends commit: 4afb5971b93a with suggestions to improve debugging from Nir Soffer. --- lib/filters/filter-persistent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/filters/filter-persistent.c b/lib/filters/filter-persistent.c index bbfd85805..1d24af864 100644 --- a/lib/filters/filter-persistent.c +++ b/lib/filters/filter-persistent.c @@ -50,8 +50,8 @@ struct pfilter { * by default. The old code for it should be removed. */ -static int _good_device; -static int _bad_device; +static char* _good_device = "good"; +static char* _bad_device = "bad"; /* * The hash table holds one of these two states