shithub: sox

Download patch

ref: 9dfc4c0d3977e125f3752876d8392f5c926972b0
parent: 1427a1f45dacc06e5c8df38d2e18ced39e9bd228
author: rrt <rrt>
date: Fri Jul 6 04:51:26 EDT 2007

Null pointers should be NULL, not 0.

--- a/src/misc.c
+++ b/src/misc.c
@@ -552,7 +552,7 @@
 FILE * xfopen(char const * identifier, char const * mode) 
 { 
   if (is_uri(identifier)) {
-    FILE * f = 0; 
+    FILE * f = NULL;
 #ifdef HAVE_POPEN
     char const * const command_format = "wget -q -O- \"%s\"";
     char * command = xmalloc(strlen(command_format) + strlen(identifier));