summaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /networking/ping.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/ping.c b/networking/ping.c
index a38f356d6..50f3930ff 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * $Id: ping.c,v 1.55 2003/07/22 08:56:51 andersen Exp $ 3 * $Id: ping.c,v 1.56 2004/03/15 08:28:48 andersen Exp $
4 * Mini ping implementation for busybox 4 * Mini ping implementation for busybox
5 * 5 *
6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> 6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -27,7 +27,7 @@
27 * 27 *
28 * This code is derived from software contributed to Berkeley by 28 * This code is derived from software contributed to Berkeley by
29 * Mike Muuss. 29 * Mike Muuss.
30 * 30 *
31 * Original copyright notice is retained at the end of this file. 31 * Original copyright notice is retained at the end of this file.
32 */ 32 */
33 33
@@ -329,7 +329,7 @@ static void unpack(char *buf, int sz, struct sockaddr_in *from)
329 if (dupflag) 329 if (dupflag)
330 printf(" (DUP!)"); 330 printf(" (DUP!)");
331 printf("\n"); 331 printf("\n");
332 } else 332 } else
333 if (icmppkt->icmp_type != ICMP_ECHO) 333 if (icmppkt->icmp_type != ICMP_ECHO)
334 bb_error_msg("Warning: Got ICMP %d (%s)", 334 bb_error_msg("Warning: Got ICMP %d (%s)",
335 icmppkt->icmp_type, icmp_type_name (icmppkt->icmp_type)); 335 icmppkt->icmp_type, icmp_type_name (icmppkt->icmp_type));
@@ -451,8 +451,8 @@ extern int ping_main(int argc, char **argv)
451 * notice, this list of conditions and the following disclaimer in the 451 * notice, this list of conditions and the following disclaimer in the
452 * documentation and/or other materials provided with the distribution. 452 * documentation and/or other materials provided with the distribution.
453 * 453 *
454 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change 454 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
455 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> 455 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
456 * 456 *
457 * 4. Neither the name of the University nor the names of its contributors 457 * 4. Neither the name of the University nor the names of its contributors
458 * may be used to endorse or promote products derived from this software 458 * may be used to endorse or promote products derived from this software