X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=pop.c;h=0477815f827d14ab1bdf4eddbf5f4894c63312a5;hb=b7dc018999a689010314c3847576cef772fd1d16;hp=1925eb40de9a8dc18f87268d34252804a87c633e;hpb=56de5b8f09f14f10955ac105d77a15ea7321c92a;p=cascardo%2Frnetproxy.git diff --git a/pop.c b/pop.c index 1925eb4..0477815 100644 --- a/pop.c +++ b/pop.c @@ -18,7 +18,6 @@ ** */ -#include #include #include #include "nethook.h" @@ -92,7 +91,7 @@ pop_read (net_hook_t *hook, gchar *buffer, size_t len) { g_message ("Denying access to user %s.", pop->user); pop_destroy (hook); - gnet_conn_disconnect (hook->conn); + hc_conn_close (hook->conn); return; } }