vos: fix code to not triple-negate
authorDerrick Brashear <shadow@dementix.org>
Tue, 13 Dec 2011 17:19:48 +0000 (12:19 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 14 Dec 2011 14:15:51 +0000 (06:15 -0800)
!!! is !. just write it that way.

Change-Id: I8e788177280c4a1d78cedaffd144a5c4ecba28f2
Reviewed-on: http://gerrit.openafs.org/6252
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>

src/volser/vsprocs.c

index 94df884..6af3bd4 100644 (file)
@@ -3804,7 +3804,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");