aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /sysklogd/logger.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 252cfc494..981cef322 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Mini logger implementation for busybox 3 * Mini logger implementation for busybox
4 * 4 *
5 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -49,11 +49,11 @@
49# endif 49# endif
50#endif 50#endif
51 51
52/* Decode a symbolic name to a numeric value 52/* Decode a symbolic name to a numeric value
53 * this function is based on code 53 * this function is based on code
54 * Copyright (c) 1983, 1993 54 * Copyright (c) 1983, 1993
55 * The Regents of the University of California. All rights reserved. 55 * The Regents of the University of California. All rights reserved.
56 * 56 *
57 * Original copyright notice is retained at the end of this file. 57 * Original copyright notice is retained at the end of this file.
58 */ 58 */
59static int decode(char *name, CODE * codetab) 59static int decode(char *name, CODE * codetab)
@@ -71,7 +71,7 @@ static int decode(char *name, CODE * codetab)
71 return (-1); 71 return (-1);
72} 72}
73 73
74/* Decode a symbolic name to a numeric value 74/* Decode a symbolic name to a numeric value
75 * this function is based on code 75 * this function is based on code
76 * Copyright (c) 1983, 1993 76 * Copyright (c) 1983, 1993
77 * The Regents of the University of California. All rights reserved. 77 * The Regents of the University of California. All rights reserved.
@@ -132,7 +132,7 @@ extern int logger_main(int argc, char **argv)
132 do { 132 do {
133 /* read from stdin */ 133 /* read from stdin */
134 i = 0; 134 i = 0;
135 while ((c = getc(stdin)) != EOF && c != '\n' && 135 while ((c = getc(stdin)) != EOF && c != '\n' &&
136 i < (sizeof(buf)-1)) { 136 i < (sizeof(buf)-1)) {
137 buf[i++] = c; 137 buf[i++] = c;
138 } 138 }
@@ -180,8 +180,8 @@ extern int logger_main(int argc, char **argv)
180 * notice, this list of conditions and the following disclaimer in the 180 * notice, this list of conditions and the following disclaimer in the
181 * documentation and/or other materials provided with the distribution. 181 * documentation and/or other materials provided with the distribution.
182 * 182 *
183 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change 183 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
184 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> 184 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
185 * 185 *
186 * 4. Neither the name of the University nor the names of its contributors 186 * 4. Neither the name of the University nor the names of its contributors
187 * may be used to endorse or promote products derived from this software 187 * may be used to endorse or promote products derived from this software