Remove NT_STATUS_IS_ERR_RETURN macro from the codebase.
[kai/samba-autobuild/.git] / source4 / wrepl_server / wrepl_in_connection.c
index 251e5a024757c0893c0ca93271819f6ffdedead5..b8e9a16dc21d24723f6bcef9e37960dcece6cbc4 100644 (file)
@@ -65,7 +65,9 @@ static NTSTATUS wreplsrv_process(struct wreplsrv_in_connection *wrepl_conn,
        }
 
        status = wreplsrv_in_call(call);
-       NT_STATUS_IS_ERR_RETURN(status);
+       if (NT_STATUS_IS_ERR(status)) {
+               return status;
+       }
        if (!NT_STATUS_IS_OK(status)) {
                /* w2k just ignores invalid packets, so we do */
                DEBUG(10,("Received WINS-Replication packet was invalid, we just ignore it\n"));