summaryrefslogtreecommitdiff
path: root/noannounce.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-02-20 17:47:50 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-02-20 17:47:50 +0100
commit1ca3263b1febbef86071eaaa4e8eda0bbac578fa (patch)
tree51acae08ac515eba84e01c76261a7735665dd601 /noannounce.c
parent57d0cbd75c591e450e4d11a45ac6a016de48b8cf (diff)
downloadvdr-plugin-epgsearch-1ca3263b1febbef86071eaaa4e8eda0bbac578fa.tar.gz
vdr-plugin-epgsearch-1ca3263b1febbef86071eaaa4e8eda0bbac578fa.tar.bz2
replaced asprintf with cString::sprintf and a wrapper function
Diffstat (limited to 'noannounce.c')
-rw-r--r--noannounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noannounce.c b/noannounce.c
index 9d87bdd..a22bf1d 100644
--- a/noannounce.c
+++ b/noannounce.c
@@ -120,7 +120,7 @@ bool cNoAnnounce::Parse(const char *s)
const char *cNoAnnounce::ToText(void) const
{
free(buffer);
- asprintf(&buffer, "%s:%s:%s:%ld:%ld",
+ msprintf(&buffer, "%s:%s:%s:%ld:%ld",
ReplaceAll(title, ":", "|").c_str(),
ReplaceAll(shortText, ":", "|").c_str(),
*channelID.ToString(),