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

Michael Smith msmith at xiph.org
Sat Jun 29 08:34:51 PDT 2002



msmith      02/06/29 08:34:50

  Modified:    src      playlist_script.c
  Log:
  Make this log a message saying what the program returned, to make debugging
  more practical.

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

Index: playlist_script.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/playlist_script.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- playlist_script.c	2002/06/29 15:19:18	1.1
+++ playlist_script.c	2002/06/29 15:34:50	1.2
@@ -2,7 +2,7 @@
  * - Gets a filename to play back based on output from a program/shell script
  *   run each time.
  *
- * $Id: playlist_script.c,v 1.1 2002/06/29 15:19:18 msmith Exp $
+ * $Id: playlist_script.c,v 1.2 2002/06/29 15:34:50 msmith Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -58,6 +58,8 @@
     /* De-fuck windows files. */
     if(strlen(buf) > 0 && buf[strlen(buf)-1] == '\r')
         buf[strlen(buf)-1] = 0;
+
+    LOG_DEBUG2("Program/script (\"%s\") returned filename \"%s\"", prog, buf);
 
     return buf;
 }

<p><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