diff options
author | Zheng Da <zhengda1936@gmail.com> | 2009-12-15 05:52:37 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2009-12-15 05:52:37 +0100 |
commit | d14ef0ec0bf54f4a3290d5df196304f2b01b5901 (patch) | |
tree | 8d08831e8efe0979d0169bed1eb422885d2d6d5e | |
parent | 5887e27b584ef586ebaa14a08ef4c5254ce373e3 (diff) |
fix a bug (setting a thread name).
-rw-r--r-- | libddekit/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /* |