projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a822fca
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 7 Nov 2001 15:13:22 +0000
(15:13 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 7 Nov 2001 15:13:22 +0000
(15:13 +0000)
lib/silcutil/silclog.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/silclog.c
b/lib/silcutil/silclog.c
index f75a735adb955c424c5b2adaf39d27070a3fd01d..3d3fc84b22a22653829930494915f00c25c53df4 100644
(file)
--- 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);
}