diff options
| author | Alexander Barton <alex@barton.de> | 2001-12-29 03:04:06 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2001-12-29 03:04:06 +0000 |
| commit | 680e2ad6b160069a20716fe4472567db8f2a358f (patch) | |
| tree | 1b9bb7a659b799a98ea7bcd15ad4fd71ed908a0c /src | |
| parent | 41099fd63f72e5470ef1f3f4febb4a57c4e682c7 (diff) | |
| download | ngircd-680e2ad6b160069a20716fe4472567db8f2a358f.tar.gz ngircd-680e2ad6b160069a20716fe4472567db8f2a358f.zip | |
- neue configure-Option "--enable-strict-rfc".
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/log.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ngircd/log.c b/src/ngircd/log.c index 94686c67..e33232aa 100644 --- a/src/ngircd/log.c +++ b/src/ngircd/log.c @@ -9,11 +9,14 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: log.c,v 1.10 2001/12/27 01:44:49 alex Exp $ + * $Id: log.c,v 1.11 2001/12/29 03:08:49 alex Exp $ * * log.c: Logging-Funktionen * * $Log: log.c,v $ + * Revision 1.11 2001/12/29 03:08:49 alex + * - neue configure-Option "--enable-strict-rfc". + * * Revision 1.10 2001/12/27 01:44:49 alex * - die Verwendung von syslog kann nun abgeschaltet werden. * @@ -77,6 +80,11 @@ GLOBAL VOID Log_Init( VOID ) else strcat( txt, "-" ); strcat( txt, "SYSLOG" ); #endif +#ifdef STRICT_RFC + if( txt[0] ) strcat( txt, "+" ); + else strcat( txt, "-" ); + strcat( txt, "RFC" ); +#endif #ifdef DEBUG if( txt[0] ) strcat( txt, "+" ); else strcat( txt, "-" ); |