Minor tidy-up.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 16 Sep 2001 07:32:06 +0000 (07:32 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Sep 2001 07:32:06 +0000 (07:32 +0000)
(This used to be commit dbb21aedbf10ebc4ef0d549c4f919cf91459eef7)

source3/rpc_server/srv_netlog_nt.c

index ab5a0ff49ec29bbdaef7fa460e129e9416256c98..173c4218cb0143cfce8557822a470704fd889353 100644 (file)
@@ -670,7 +670,7 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
 
        /* Check account and password */
     
-       if (NT_STATUS_V(status))
+       if (NT_STATUS_IS_ERR(status))
                return status;
 
        pdb_init_sam(&sampass);