[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[gd/samba/.git] / source / python / py_srvsvc.c
index 03ed7fd84b10884c81be37fbb4dc0870e608f260..4e5649bdb875fdb3a723bd6f848926bf0bf58cda 100644 (file)
@@ -122,7 +122,7 @@ PyObject *srvsvc_netservergetinfo(PyObject *self, PyObject *args,
 
        status = rpccli_srvsvc_net_srv_get_info(cli->pipe_list, mem_ctx, level, &ctr);
 
-       if (!NT_STATUS_IS_OK(status)) {
+       if (!W_ERROR_IS_OK(status)) {
                PyErr_SetObject(srvsvc_error, py_werror_tuple(status));
                goto done;
        }