From d14ef0ec0bf54f4a3290d5df196304f2b01b5901 Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Tue, 15 Dec 2009 05:52:37 +0100 Subject: fix a bug (setting a thread name). --- libddekit/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libddekit') diff --git a/libddekit/thread.c b/libddekit/thread.c index cc2b0d53..84fbb1d6 100644 --- a/libddekit/thread.c +++ b/libddekit/thread.c @@ -104,7 +104,7 @@ static void setup_thread (struct ddekit_thread *t, const char *name) { else strcpy (cpy, name); - cthread_set_name (&t->thread, name); + cthread_set_name (&t->thread, cpy); } /* -- cgit v1.2.3