Skip to content

Commit

Permalink
#382 return success (code 0) instead of bytes written
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Oct 12, 2024
1 parent da1f143 commit fd69d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ int main(int argc, char *argv[])
sock.close();

OUTPUT();
return bytesWriten;
return 0;


} else {
Expand Down Expand Up @@ -1228,7 +1228,7 @@ int main(int argc, char *argv[])
sock.close();

OUTPUT();
return bytesWriten;
return 0;

}

Expand Down

0 comments on commit fd69d32

Please sign in to comment.