In pp_sockpair, remove duplication of code to close the supplied file handles.
authorNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 08:32:44 +0000 (08:32 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 08:32:44 +0000 (08:32 +0000)
commit46d2cc544f36e7450798245748cda64959a6b884
treefa8c7facf74df2ddb3cf0bba4d6d7b45130406fa
parent87563727c783b3ada5e8ad351d78411fa539328e
In pp_sockpair, remove duplication of code to close the supplied file handles.

It's not necessary to (also) test gv1 and gv2 before returning undef as an
error, because io1 will automatically be NULL if gv1 is NULL, and similarly
io2 if gv2 is.
pp_sys.c