From: Fredrik Tolf Date: Fri, 17 Oct 2008 22:49:16 +0000 (+0200) Subject: Disabled socket debug messages. X-Git-Tag: 1.3~12 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=5d86aecd3086d81f88391d5dd190faf3a2b816d8;p=doldaconnect.git Disabled socket debug messages. --- diff --git a/daemon/fnet-dc.c b/daemon/fnet-dc.c index b34ed3a..6e6a24d 100644 --- a/daemon/fnet-dc.c +++ b/daemon/fnet-dc.c @@ -2829,7 +2829,6 @@ static struct socket *mktrpipe(struct dcpeer *peer) struct socket *sk; sk = netsockpipe(); - socksetdebug(sk, 2, "trpipe"); sk->data = peer; sk->readcb = (void (*)(struct socket *, void *))trpiperead; sk->writecb = (void (*)(struct socket *, void *))trpipewrite; @@ -3114,7 +3113,6 @@ static struct dcpeer *newdcpeer(struct socket *sk) new = smalloc(sizeof(*new)); memset(new, 0, sizeof(*new)); new->transfer = NULL; - socksetdebug(sk, 2, "peersock"); getsock(sk); new->sk = sk; if(confgetint("dc", "dcppemu")) diff --git a/daemon/transfer.c b/daemon/transfer.c index b713f52..893953d 100644 --- a/daemon/transfer.c +++ b/daemon/transfer.c @@ -325,7 +325,6 @@ void transfersetlocalend(struct transfer *transfer, struct socket *sk) { if(transfer->localend != NULL) putsock(transfer->localend); - socksetdebug(sk, 2, "localend"); getsock(transfer->localend = sk); sk->data = transfer; sk->readcb = (void (*)(struct socket *, void *))localread;