mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
API change of 1.7.28: missed one affected line leading to crashed in VTP
(refs #1226)
This commit is contained in:
parent
525edc1ccf
commit
138580f284
@ -1815,7 +1815,11 @@ bool cConnectionVTP::Respond(int Code, const char *Message, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, Message);
|
||||
#if APIVERSNUM >= 10728
|
||||
cString str = cString::vsprintf(Message, ap);
|
||||
#else
|
||||
cString str = cString::sprintf(Message, ap);
|
||||
#endif
|
||||
va_end(ap);
|
||||
|
||||
if (Code >= 0 && m_LastCommand != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user