]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mlmmj-process: remove dead branch
authorBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 14 Apr 2023 12:54:20 +0000 (14:54 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 14 Apr 2023 12:54:20 +0000 (14:54 +0200)
src/mlmmj-process.c

index ee20a3cf0ac0bc191195dcfd6d4cc6bdd067a81a..600221aac73e18e149594b0fa9ef890be5350c6f 100644 (file)
@@ -640,7 +640,7 @@ int main(int argc, char **argv)
        if(recipextra) {
                int ownfd = openat(ml.ctrlfd, "owner", O_RDONLY);
                xasprintf(&owner, "%d", ownfd);
-               if(owner && strcmp(recipextra, "owner") == 0) {
+               if(strcmp(recipextra, "owner") == 0) {
                        /* Why is this here, and not in listcontrol() ?
                         * -- mortenp 20060409 */
                        /* strip envelope from before resending */