+Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
+
+ * Make sure the warning about error opening a log file is
+ printed only once and not everytime it fails (produces
+ too much useless log). Affected file lib/silcutil/silclog.c.
+
Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
* Fixed JOIN command parsing not to crash. Affected file
TODO/bugs In SILC Server
========================
+ o LIST command reply sending is broken. It is possible it does not
+ end the list with LIST_END, but sends LIST_ENTRY as last entry.
+
o Backup router related issues
o Channel user mode changes are notified unnecessarely when
TODO/bugs In SILC Libraries
===========================
+ o make install copies the symblic links from lib/silcsim/ and not
+ modules.
+
o WIN32 silc_net_create_connection_async does not work the same way
than on Unix. Do it with threads on WIN32. The function works but
is not actually async currently.
bool silc_debug = FALSE;
bool silc_debug_hexdump = FALSE;
char *silc_debug_string = NULL;
+bool log_file_open_error = FALSE;
/* SILC Log name strings. These strings are printed to the log file. */
const SilcLogTypeName silc_log_types[] =
/* Open the log file */
if ((fp = fopen(filename, "a+")) == NULL) {
- fprintf(stderr, "warning: could not open log file "
- "%s: %s\n", filename, strerror(errno));
- fprintf(stderr, "warning: log messages will be displayed on "
- "the screen\n");
+ if (!log_file_open_error) {
+ fprintf(stderr, "warning: could not open log file "
+ "%s: %s\n", filename, strerror(errno));
+ fprintf(stderr, "warning: log messages will be displayed on "
+ "the screen\n");
+ }
+ log_file_open_error = TRUE;
fp = stderr;
}
}