Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneBaldZakharov committed Mar 24, 2023
1 parent dc862ce commit 3c7ab9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TCPSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <cstring>
#endif

TCPSocket::TCPSocket(int *error){
TCPSocket::TCPSocket(int *error) {
_handle = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (_handle < 0) {
::perror("socket returned error: ");
Expand Down
2 changes: 1 addition & 1 deletion TCPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <string>
#include <arpa/inet.h> /* for sockaddr_in and inet_addr() */

class TCPSocket{
class TCPSocket {
public:
using SocketHandle_t = int;

Expand Down

0 comments on commit 3c7ab9a

Please sign in to comment.