summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-05-08 11:23:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-05-08 11:23:56 +0200
commit06b8fe94ef8e07dde1ff7cc33d9d940448fb1109 (patch)
tree789fe78776241055f2adc322c4a2ce693ae7ff59 /svdrp.c
parent4f7523a3a29297079aac404f4f5021dec6ddbe97 (diff)
downloadvdr-06b8fe94ef8e07dde1ff7cc33d9d940448fb1109.tar.gz
vdr-06b8fe94ef8e07dde1ff7cc33d9d940448fb1109.tar.bz2
Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf()
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index 7884ec58..b762cf14 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 2.17 2012/04/26 10:36:11 kls Exp $
+ * $Id: svdrp.c 2.18 2012/05/08 11:23:56 kls Exp $
*/
#include "svdrp.h"
@@ -432,7 +432,7 @@ void cSVDRP::Reply(int Code, const char *fmt, ...)
if (Code != 0) {
va_list ap;
va_start(ap, fmt);
- cString buffer = cString::sprintf(fmt, ap);
+ cString buffer = cString::vsprintf(fmt, ap);
va_end(ap);
const char *s = buffer;
while (s && *s) {