summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2014-02-18 12:59:37 -0500
committerAdam <adam@sigterm.info>2014-02-18 12:59:37 -0500
commit1edb7e776bd6e96aabf4eb20efa768cfd4209c73 (patch)
treea9047a5294d99ae67e7348911d3a5a0015467a43 /include
parent928e2e1b7ccce8e05f7b15b2990490ee495e3c46 (diff)
parent3883716883fbcaade9b8f26af8451bf4b6dac66b (diff)
Merge pull request #54 from attilamolnar/2.0+webcpanelfix
Don't create zero length DataBlocks in BinarySocket::Write()
Diffstat (limited to 'include')
-rw-r--r--include/sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sockets.h b/include/sockets.h
index 744f1a23e..0dfa5d9d0 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -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, ...);