diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /sysklogd/logger.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 14 |
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 | */ |
59 | static int decode(char *name, CODE * codetab) | 59 | static 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 |