aboutsummaryrefslogtreecommitdiffstats
path: root/sock_conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'sock_conn.h')
-rw-r--r--sock_conn.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sock_conn.h b/sock_conn.h
index 8cf64be..b72271a 100644
--- a/sock_conn.h
+++ b/sock_conn.h
@@ -47,13 +47,13 @@ int irc_buf_destroy(irc_buf *ib);
//connecto to irc
typedef struct irc_conn
{
- int conn_fd; //save connection fd
+ int conn_fd; //save connection fd
char *hostname;
char *port;
struct timespec last_read; //when last read where happening
- int timeout;
- int err; //local error type
- int liberr; //save error from libc
+ int timeout;
+ int err; //local error type
+ int liberr; //save error from libc
} irc_conn;
int irc_connect(char *hostname, char *port);