diff options
Diffstat (limited to 'server/connectionVTP.c')
-rw-r--r-- | server/connectionVTP.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 0f92db0..411f3fd 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1783,14 +1783,7 @@ bool cConnectionVTP::Respond(int Code, const char *Message, ...) { va_list ap; va_start(ap, Message); -#if APIVERSNUM < 10515 - char *buffer; - if (vasprintf(&buffer, Message, ap) < 0) - buffer = strdup("???"); - cString str(buffer, true); -#else cString str = cString::sprintf(Message, ap); -#endif va_end(ap); if (Code >= 0 && m_LastCommand != NULL) { |