From owner-p4-projects@FreeBSD.ORG Fri Apr 11 14:47:35 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E0F29106567B; Fri, 11 Apr 2008 14:47:34 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A22E91065675 for ; Fri, 11 Apr 2008 14:47:34 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8857C8FC22 for ; Fri, 11 Apr 2008 14:47:34 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3BElYqt036946 for ; Fri, 11 Apr 2008 14:47:34 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3BElYQc036944 for perforce@freebsd.org; Fri, 11 Apr 2008 14:47:34 GMT (envelope-from piso@freebsd.org) Date: Fri, 11 Apr 2008 14:47:34 GMT Message-Id: <200804111447.m3BElYQc036944@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 139813 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2008 14:47:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=139813 Change 139813 by piso@piso_ferret on 2008/04/11 14:46:59 Whitespace redection. Affected files ... .. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_irc.c#29 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_irc.c#29 (text+ko) ==== @@ -215,7 +215,7 @@ if (i >= dlen || iCopy >= PKTSIZE) goto lPACKET_DONE; newpacket[iCopy++] = sptr[i++]; /* Copy the CTCP start - * character */ + * character */ /* Start of a CTCP */ if (i + 4 >= dlen) /* Too short for DCC */ goto lBAD_CTCP; @@ -235,6 +235,7 @@ newpacket[iCopy++] = 'C'; newpacket[iCopy++] = 'C'; newpacket[iCopy++] = ' '; + DBprintf(("Found DCC\n")); /* * Skip any extra spaces (should not occur according to @@ -246,6 +247,7 @@ goto lPACKET_DONE; } } + DBprintf(("Transferring command...\n")); while (sptr[i] != ' ') { newpacket[iCopy++] = sptr[i]; @@ -269,6 +271,7 @@ goto lPACKET_DONE; } } + DBprintf(("Transferring filename...\n")); while (sptr[i] != ' ') { newpacket[iCopy++] = sptr[i]; @@ -292,6 +295,7 @@ goto lPACKET_DONE; } } + DBprintf(("Fetching IP address\n")); /* Fetch IP address */ org_addr = 0; @@ -353,6 +357,7 @@ pip->ip_src.s_addr != true_addr.s_addr || org_port < IPPORT_RESERVED) goto lBAD_CTCP; + /* * Steal the FTP_DATA_PORT - it doesn't really * matter, and this would probably allow it through