API change of VDR 1.7.28

This commit is contained in:
Frank Schmirler 2012-12-04 17:19:35 +01:00
parent 83e9f3250f
commit eaf9321c4c

View File

@ -231,7 +231,11 @@ bool cConnectionHTTP::HttpResponse(int Code, bool Last, const char* ContentType,
{ {
va_list ap; va_list ap;
va_start(ap, Headers); va_start(ap, Headers);
#if APIVERSNUM >= 10728
cString headers = cString::vsprintf(Headers, ap);
#else
cString headers = cString::sprintf(Headers, ap); cString headers = cString::sprintf(Headers, ap);
#endif
va_end(ap); va_end(ap);
bool rc; bool rc;