PERFORCE change 110912 for review

John Birrell jb at FreeBSD.org
Sat Dec 2 17:49:37 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=110912

Change 110912 by jb at jb_freebsd8 on 2006/12/03 01:48:57

	Return 0 (integer) rather that NULL (which we define as a pointer)

Affected files ...

.. //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/ctf.c#3 edit

Differences ...

==== //depot/projects/opensolaris/contrib/opensolaris/tools/ctf/cvt/ctf.c#3 (text) ====

@@ -1196,7 +1196,7 @@
 	    (rc = inflate(&zstr, Z_NO_FLUSH)) != Z_STREAM_END ||
 	    (rc = inflateEnd(&zstr)) != Z_OK) {
 		warning("CTF decompress zlib error %s\n", zError(rc));
-		return (NULL);
+		return (0);
 	}
 
 	debug(3, "reflated %lu bytes to %lu, pointer at %d\n",


More information about the p4-projects mailing list