Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/Socket.cpp b/src/Socket.cpp
index 5998881..bdf942a 100755
--- a/src/Socket.cpp
+++ b/src/Socket.cpp
@@ -139,7 +139,7 @@ int Socket::sync() {
if(pptr() == pbase()) // Allready in sync
return 0;
try {
- setp(pbase(), pptr()+send(pbase(), pptr()-pbase()));
+ setp(pbase(), pbase()+send(pbase(), pptr()-pbase()));