[xiph-cvs] cvs commit: ices/src ices.c

Karl Heyes karl at xiph.org
Mon Mar 1 15:39:38 PST 2004



karl        04/03/01 18:39:38

  Modified:    src      ices.c
  Log:
  let the user know if the log cannot be opened

Revision  Changes    Path
1.18      +3 -1      ices/src/ices.c

Index: ices.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/ices.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ices.c	24 Feb 2004 15:39:14 -0000	1.17
+++ ices.c	1 Mar 2004 23:39:38 -0000	1.18
@@ -1,7 +1,7 @@
 /* ices.c
  * - Main startup, thread launching, and cleanup code.
  *
- * $Id: ices.c,v 1.17 2004/02/24 15:39:14 karl Exp $
+ * $Id: ices.c,v 1.18 2004/03/01 23:39:38 karl Exp $
  *
  * Copyright (c) 2001-2002 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -92,6 +92,8 @@
     else
     {
         log = log_open(logpath);
+        if (log < 0)
+            fprintf (stderr, "unable to open log %s\n", logpath);
         log_set_trigger (log, 2048);
     }
     /* Set the log level, if requested - defaults to 2 (WARN) otherwise */

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list