Revert "TODO PANIC/NONE sq s4:librpc/rpc: make use of dcerpc_binding_get_string_optio...
authorStefan Metzmacher <metze@samba.org>
Wed, 12 Feb 2014 11:58:25 +0000 (12:58 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:43:20 +0000 (12:43 +0200)
This reverts commit ac3cc2a59e8d1cc9a9399fc5921031af2e44eb72.

source4/librpc/rpc/dcerpc_secondary.c

index eb57e490c1b077f3c08a093483950b8ad1312740..084413ac84c5fb281e2480dcb359de10ef345001 100644 (file)
@@ -114,9 +114,6 @@ _PUBLIC_ struct composite_context* dcerpc_secondary_connection_send(struct dcerp
                 */
                endpoint = dcerpc_binding_get_string_option(s->pipe->binding, "endpoint");
        }
-       if (endpoint == NULL) {
-               smb_panic(__location__);
-       }
        if (endpoint == NULL) {
                composite_error(c, NT_STATUS_INVALID_PARAMETER_MIX);
                return c;