messaging_deregister(smbd_messaging_context(),
MSG_PRINTER_NOTIFY2, NULL);
- /* Tell the connections db we're no longer interested in
+ /* Tell the connections db we're no longer interested in
* printer notify messages. */
register_message_flags(false, FLAG_MSG_PRINT_NOTIFY);
}
- if (!StrCaseCmp(value, "DefaultSpoolDirectory")) {
+ if (!StrCaseCmp(value, "DefaultSpoolDirectory")) {
*type = REG_SZ;
data->string = talloc_strdup(mem_ctx, "C:\\PRINTERS");
DEBUG(0,("%s: invalid level=%d\n", fn,
r->in.info_ctr->level));
break;
- }
+ }
done:
/*
* See the section "Dynamically Typed Query Parameters"
- * in MS-RPRN.
- */
+ * in MS-RPRN.
+ */
if (r->out.data && val->data && val->data->data &&
val->data_length && r->in.data_offered) {
return WERR_BADFID;
status = get_a_printer(Printer, &printer, 2, lp_const_servicename(snum));
- if (!W_ERROR_IS_OK(status))
+ if (!W_ERROR_IS_OK(status))
goto done;
}
return WERR_BADFID;
status = get_a_printer(Printer, &printer, 2, lp_const_servicename(snum));
- if (!W_ERROR_IS_OK(status))
+ if (!W_ERROR_IS_OK(status))
goto done;
}
return WERR_BADFID;
status = get_a_printer(Printer, &printer, 2, lp_const_servicename(snum));
- if (!W_ERROR_IS_OK(status))
+ if (!W_ERROR_IS_OK(status))
goto done;
}