diff --git a/util/ddv_socket.cpp b/util/ddv_socket.cpp index 72201cf0..6ab42140 100644 --- a/util/ddv_socket.cpp +++ b/util/ddv_socket.cpp @@ -38,12 +38,12 @@ int DDV_Accept(int sock){ bool DDV_write(void * buffer, int width, int count, int sock){ bool r = (send(sock, buffer, width*count, 0) == width*count); - if (!r){socketError = true} + if (!r){socketError = true;} return r; } bool DDV_read(void * buffer, int width, int count, int sock){ bool r = (recv(sock, buffer, width*count, 0) == width*count); - if (!r){socketError = true} + if (!r){socketError = true;} return r; }