From 20e42b6b0667e69a6c5a16376ab9b563e195e5c0 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 7 Nov 2001 15:13:22 +0000 Subject: [PATCH] updates. --- lib/silcutil/silclog.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/silcutil/silclog.c b/lib/silcutil/silclog.c index f75a735a..3d3fc84b 100644 --- a/lib/silcutil/silclog.c +++ b/lib/silcutil/silclog.c @@ -315,9 +315,5 @@ void silc_log_reset_debug_callbacks() void silc_log_set_debug_string(const char *debug_string) { silc_free(silc_debug_string); - if (strchr(debug_string, '(') && - strchr(debug_string, ')')) - silc_debug_string = strdup(debug_string); - else - silc_debug_string = silc_string_regexify(debug_string); + silc_debug_string = silc_string_regexify(debug_string); } -- 2.24.0