PERFORCE change 139813 for review

Paolo Pisati piso at FreeBSD.org
Fri Apr 11 14:47:35 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=139813

Change 139813 by piso at 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


More information about the p4-projects mailing list