Skip to content
Snippets Groups Projects
Commit 6254d772 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 087f190e
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class GmshSocket{ ...@@ -65,7 +65,7 @@ class GmshSocket{
int sofar = 0; int sofar = 0;
int remaining = bytes; int remaining = bytes;
do { do {
ssize_t len = send(_sock, buf + sofar, remaining, 0); int len = send(_sock, buf + sofar, remaining, 0);
sofar += len; sofar += len;
remaining -= len; remaining -= len;
} while(remaining > 0); } while(remaining > 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment