diff options
| author | 2011-05-08 22:25:35 +0000 | |
|---|---|---|
| committer | 2011-05-08 22:25:35 +0000 | |
| commit | 3d8714d797ce5b09cea2e3b36edee2fc231f28a1 (patch) | |
| tree | 5b13cd3775c52333155ff349f3e45dc24b271b04 /src/modules/objects/KvsObject_socket.cpp | |
| parent | Fix fix (diff) | |
| download | KVIrc-3d8714d797ce5b09cea2e3b36edee2fc231f28a1.tar.gz KVIrc-3d8714d797ce5b09cea2e3b36edee2fc231f28a1.tar.bz2 KVIrc-3d8714d797ce5b09cea2e3b36edee2fc231f28a1.zip | |
Objects module: fixed indentation (2nd part)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5837 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/KvsObject_socket.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_socket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/KvsObject_socket.cpp b/src/modules/objects/KvsObject_socket.cpp index 03f991895..dd361d501 100644 --- a/src/modules/objects/KvsObject_socket.cpp +++ b/src/modules/objects/KvsObject_socket.cpp @@ -210,7 +210,7 @@ const char * const sockerrors_tbl[] = { Returns the port of the local end of this socket.[br] The return value is meaningful only if the socket is in connected, listening or connecting state. -@examples: + @examples: [example] // Server socket: listen 8080 port and answer to requests (multi-threaded) class("webserver","socket") @@ -408,7 +408,7 @@ KVSO_CLASS_FUNCTION(socket,read) c->warning(__tr2qs_ctx("File is not open!","objects")); return true; } - pFile->write(m_pSocket->read(iLen)); + pFile->write(m_pSocket->read(iLen)); } else { c->warning(__tr2qs_ctx("Buffer parameter is not a memorybuffer object","objects")); return true; @@ -482,7 +482,7 @@ KVSO_CLASS_FUNCTION(socket,write) { if(iValue < 256 && iValue >= 0) { - m_pSocket->putChar(iValue); + m_pSocket->putChar(iValue); continue; } else { c->warning(__tr2qs_ctx("Only values in the range of 0-255 are allowed: integer %d is out of range","objects"),iValue); |
