Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 01:49:34 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110912 for review
Message-ID:  <200612030149.kB31nYBY005250@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110912

Change 110912 by jb@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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612030149.kB31nYBY005250>