From dd590b60828c4fdae14b9ca087946b6fc0812860 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 5 Nov 2007 19:44:14 +0100 Subject: [PATCH] fix for int_outof I discovered a bug in int_outof implementation, which wasn't working at all and I fixed it while discussing with David over IRC. But it seems my patch never got committed, Here it is --- hald/create_cache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hald/create_cache.c b/hald/create_cache.c index 0250456..384ed6a 100644 --- a/hald/create_cache.c +++ b/hald/create_cache.c @@ -142,7 +142,7 @@ get_match_type(const char *str) if (strcmp (str, "contains_outof") == 0) return MATCH_CONTAINS_OUTOF; if (strcmp (str, "int_outof") == 0) - return MATCH_CONTAINS_OUTOF; + return MATCH_INT_OUTOF; if (strcmp (str, "prefix_outof") == 0) return MATCH_PREFIX_OUTOF; if (strcmp (str, "string_outof") == 0) -- 1.5.3.7