[xiph-commits] r3700 - liboggz/trunk/src/tests

giles at svn.annodex.net giles at svn.annodex.net
Fri Aug 8 22:56:25 PDT 2008


Author: giles
Date: 2008-08-08 22:56:24 -0700 (Fri, 08 Aug 2008)
New Revision: 3700

Modified:
   liboggz/trunk/src/tests/seek-stress.c
Log:
Exit after printing usage instead of trying to open a NULL filename.


Modified: liboggz/trunk/src/tests/seek-stress.c
===================================================================
--- liboggz/trunk/src/tests/seek-stress.c	2008-08-08 21:11:12 UTC (rev 3699)
+++ liboggz/trunk/src/tests/seek-stress.c	2008-08-09 05:56:24 UTC (rev 3700)
@@ -117,6 +117,7 @@
 
   if (filename == NULL) {
     printf ("usage: %s [--verbose] filename\n", argv[0]);
+    exit(1);
   }
 
   if ((oggz = oggz_open (filename, OGGZ_READ | OGGZ_AUTO)) == NULL) {



More information about the commits mailing list