diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-03-26 09:27:30 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-03-26 09:27:30 +0200 |
commit | 1fe46dfa9faf971fee27870a49f652485e52647a (patch) | |
tree | b9ab0238825442c042a781ffd5c5d01462fe5f1c /thread.c | |
parent | 8a3dae1e8bc3c008abc425c026f1c1bdf1ce026d (diff) | |
download | vdr-1fe46dfa9faf971fee27870a49f652485e52647a.tar.gz vdr-1fe46dfa9faf971fee27870a49f652485e52647a.tar.bz2 |
Fixed format string handling
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 1.53 2006/02/12 12:24:39 kls Exp $ + * $Id: thread.c 1.54 2006/03/26 09:22:27 kls Exp $ */ #include "thread.h" @@ -208,7 +208,8 @@ cThread::cThread(const char *Description) childTid = 0; childThreadId = 0; description = NULL; - SetDescription(Description); + if (Description) + SetDescription("%s", Description); } cThread::~cThread() |