NT_STATUS_IS_OK used to check WERROR type.
Autobuild-User: David Disseldorp <ddiss@samba.org>
Autobuild-Date: Sun Jan 22 05:03:36 CET 2012 on sn-devel-104
found = true;
status = spoolss_dpd_version(tmp_ctx, p, r, b, info);
found = true;
status = spoolss_dpd_version(tmp_ctx, p, r, b, info);
- if (!NT_STATUS_IS_OK(status)) {
+ if (!W_ERROR_IS_OK(status)) {
DEBUG(0, ("failed to delete driver with version %d\n",
drv_cversion[i]));
goto done;
DEBUG(0, ("failed to delete driver with version %d\n",
drv_cversion[i]));
goto done;