}
/***************************************************************************
- check to see if the client motify handle is monitoring the notification
+ check to see if the client notify handle is monitoring the notification
given by (notify_type, notify_field).
**************************************************************************/
uint16_t field, int id);
/***********************************************************************
- Send a change notifation message on all handles which have a call
+ Send a change notification message on all handles which have a call
back registered
**********************************************************************/
/*
* now delete any associated files if delete_files is
* true. Even if this part fails, we return success
- * because the driver doesn not exist any more
+ * because the driver does not exist any more
*/
if (delete_files) {
delete_driver_files(session_info, info);
struct spoolss_Notify,
info->count + 1);
if (info->notifies == NULL) {
- DEBUG(2,("construct_notify_jobs_info: failed to enlarg buffer info->data!\n"));
+ DEBUG(2,("construct_notify_jobs_info: failed to enlarge buffer info->data!\n"));
return false;
}
}
/* these are allocated on mem_ctx and not tmp_ctx because they are
- * the 'return value' and need to utlive this call */
+ * the 'return value' and need to outlive this call */
switch (level) {
case 1:
result = fill_printer_driver_info1(mem_ctx, &r->info1, driver, servername);
/****************************************************************************
- wrapper around the enumer ports command
+ wrapper around the enum ports command
****************************************************************************/
static WERROR enumports_hook(TALLOC_CTX *ctx, int *count, char ***lines)
}
/*
- * I think this is where he DrvUpgradePrinter() hook would be
+ * I think this is where the DrvUpgradePrinter() hook would be
* be called in a driver's interface DLL on a Windows NT 4.0/2k
* server. Right now, we just need to send ourselves a message
* to update each printer bound to this driver. --jerry
if ((session_info->unix_token->uid != sec_initial_uid()) &&
!security_token_has_privilege(session_info->security_token,
SEC_PRIV_PRINT_OPERATOR)) {
- DEBUG(2,("_spoolss_Setform: denied by insufficient permissions.\n"));
+ DEBUG(2,("_spoolss_SetForm: denied by insufficient permissions.\n"));
return WERR_ACCESS_DENIED;
}
/*
* Access check : NT returns "access denied" if you make a
- * SetPrinterData call without the necessary privildge.
+ * SetPrinterData call without the necessary privilege.
* we were originally returning OK if nothing changed
* which made Win2k issue **a lot** of SetPrinterData
* when connecting to a printer --jerry