1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 18:03:13 +02:00

Merge pull request #54 from attilamolnar/2.0+webcpanelfix

Don't create zero length DataBlocks in BinarySocket::Write()
This commit is contained in:
Adam
2014-02-18 12:59:37 -05:00
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ class CoreExport BinarySocket : public virtual Socket
/** Write data to the socket
* @param buffer The data to write
* @param l The length of the data
* @param l The length of the data; if 0 then this function returns without doing anything
*/
virtual void Write(const char *buffer, size_t l);
void Write(const char *message, ...);