mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-27 07:11:05 +01:00
Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf()
This commit is contained in:
4
tools.c
4
tools.c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user