diff --git a/gnoemoe/gm-net.c b/gnoemoe/gm-net.c index 026213a..624e825 100644 --- a/gnoemoe/gm-net.c +++ b/gnoemoe/gm-net.c @@ -22,21 +22,21 @@ #define GM_NET_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GM_TYPE_NET, GmNetPrivate)) struct _GmNetPrivate { - int socket; /**< the connection socket, is -1 if not connected */ - GIOChannel *channel; /**< the channel which is used to 'listen' on the socket via the glib main loop */ - guint source; /**< the id of the socket watch */ - guint connect_timeout_id; /**< the connect timeout id */ - guint connect_check_id; /**< the connect timeout id */ - struct timeval last_connected; /**< contains when the last connect happened */ - int tn_last; /**< used for telnet */ - int tn_subneg; /**< used for telnet */ + int socket; /**< the connection socket, is -1 if not connected */ + GIOChannel *channel; /**< the channel which is used to 'listen' on the socket via the glib main loop */ + guint source; /**< the id of the socket watch */ + guint connect_timeout_id; /**< the connect timeout id */ + guint connect_check_id; /**< the connect timeout id */ + struct timeval last_connected; /**< contains when the last connect happened */ + int tn_last; /**< used for telnet */ + int tn_subneg; /**< used for telnet */ - struct addrinfo *addr; - struct addrinfo *current; + struct addrinfo *addr; + struct addrinfo *current; - GmNetState state; /**< state of the connection */ - gchar *current_host; - gchar *current_port; + GmNetState state; /**< state of the connection */ + gchar *current_host; + gchar *current_port; }; /* Signals */