]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix misplaced parentheses from PR#156
authorRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 29 Jan 2020 15:32:03 +0000 (16:32 +0100)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Wed, 29 Jan 2020 15:32:03 +0000 (16:32 +0100)
smallapp/unbound-control.c

index 7c363cdd98ede64eccef6c79e3f90982ecc0b3dc..8e9e9c98d45abe75ec27eda0a39cac465b2f82bb 100644 (file)
@@ -758,8 +758,8 @@ go_cmd(SSL* ssl, int fd, int quiet, int argc, char* argv[])
                strcmp(argv[0], "local_zones_remove") == 0 ||
                strcmp(argv[0], "local_datas") == 0 ||
                strcmp(argv[0], "view_local_datas") == 0 ||
-               strcmp(argv[0], "local_datas_remove") == 0) ||
-               strcmp(argv[0], "view_local_datas_remove") == 0) {
+               strcmp(argv[0], "local_datas_remove") == 0 ||
+               strcmp(argv[0], "view_local_datas_remove") == 0)) {
                send_file(ssl, fd, stdin, buf, sizeof(buf));
                send_eof(ssl, fd);
        }