Added watch for server connections.
[cascardo/rnetproxy.git] / nethook.h
index ed73e6c..ec1a60f 100644 (file)
--- a/nethook.h
+++ b/nethook.h
@@ -31,7 +31,7 @@ typedef void (*net_read) (net_hook_t*, gchar*, size_t);
 struct _net_hook_t
 {
   GConn* conn;
-  GConn* peer;
+  net_hook_t* peer;
   gboolean server;
   net_connect connect;
   net_close close;