Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf()

This commit is contained in:
Klaus Schmidinger
2012-05-08 11:23:56 +02:00
parent 4f7523a3a2
commit 06b8fe94ef
6 changed files with 14 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: tools.c 2.22 2012/02/18 15:30:35 kls Exp $
* $Id: tools.c 2.23 2012/05/08 11:13:13 kls Exp $
*/
#include "tools.h"
@@ -958,7 +958,7 @@ cString cString::sprintf(const char *fmt, ...)
return cString(buffer, true);
}
cString cString::sprintf(const char *fmt, va_list &ap)
cString cString::vsprintf(const char *fmt, va_list &ap)
{
char *buffer;
if (!fmt || vasprintf(&buffer, fmt, ap) < 0) {