From: Derrick Brashear Date: Tue, 13 Dec 2011 17:19:48 +0000 (-0500) Subject: vos: fix code to not triple-negate X-Git-Tag: upstream/1.6.1.pre1^2~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=49da70a86e836d4307aae7b5682d8bf6f49ed63e;p=packages%2Fo%2Fopenafs.git vos: fix code to not triple-negate !!! is !. just write it that way. Reviewed-on: http://gerrit.openafs.org/6252 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 44045af35a6ae44880655115685e0755d6a0c828) Change-Id: I646387f30c178ad512decd507925408183f83894 Reviewed-on: http://gerrit.openafs.org/6329 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 38d17490c..cd362952a 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -3822,7 +3822,7 @@ UV_ReleaseVolume(afs_uint32 afromvol, afs_uint32 afromserver, nservers + 1); results.manyResults_val = (afs_int32 *) malloc(sizeof(afs_int32) * nservers + 1); - if (!replicas || !times || !!!results.manyResults_val || !toconns) + if (!replicas || !times || !results.manyResults_val || !toconns) ONERROR0(ENOMEM, "Failed to create transaction on the release clone\n");