pjob->sysjob = ippGetInteger(attr_job_id, 0);
DEBUG(5,("cups_job_submit: job-id %d\n", pjob->sysjob));
} else {
- DEBUG(0,("Missing job-id attribute in IPP response"));
+ DEBUG(0,("Missing job-id attribute in IPP response\n"));
}
}
} else {
queue = SMB_REALLOC_ARRAY(queue, print_queue_struct, qalloc);
if (queue == NULL) {
- DEBUG(0,("cups_queue_get: Not enough memory!"));
+ DEBUG(0,("cups_queue_get: Not enough memory!\n"));
qcount = 0;
goto out;
}
queue = SMB_REALLOC_ARRAY(queue, print_queue_struct, qalloc);
if (queue == NULL) {
- DEBUG(0,("iprint_queue_get: Not enough memory!"));
+ DEBUG(0,("iprint_queue_get: Not enough memory!\n"));
qcount = 0;
goto out;
}
PL_DATA_FORMAT,
&time_h, &time_l, &nstr, &cstr, &lstr);
if (ret == -1) {
- DEBUG(1, ("Failed to un pack printer data"));
+ DEBUG(1, ("Failed to un pack printer data\n"));
status = NT_STATUS_INTERNAL_DB_CORRUPTION;
goto done;
}
PL_TSTAMP_FORMAT, &time_h, &time_l);
TALLOC_FREE(data.dptr);
if (ret == -1) {
- DEBUG(1, ("Failed to un pack printer data"));
+ DEBUG(1, ("Failed to un pack printer data\n"));
status = NT_STATUS_INTERNAL_DB_CORRUPTION;
goto done;
}
PL_DATA_FORMAT, &time_h, &time_l, &name, &comment,
&location);
if (ret == -1) {
- DEBUG(1, ("Failed to un pack printer data"));
+ DEBUG(1, ("Failed to un pack printer data\n"));
state->status = NT_STATUS_INTERNAL_DB_CORRUPTION;
return -1;
}
PL_DATA_FORMAT, &time_h, &time_l, &name, &comment,
&location);
if (ret == -1) {
- DEBUG(1, ("Failed to un pack printer data"));
+ DEBUG(1, ("Failed to un pack printer data\n"));
state->status = NT_STATUS_INTERNAL_DB_CORRUPTION;
return -1;
}
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job delete denied."
- "User name: %s, Printer name: %s.",
+ "User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job pause denied."
- "User name: %s, Printer name: %s.",
+ "User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));
!W_ERROR_IS_OK(print_access_check(server_info, msg_ctx, snum,
JOB_ACCESS_ADMINISTER))) {
DEBUG(0, ("print job resume denied."
- "User name: %s, Printer name: %s.",
+ "User name: %s, Printer name: %s.\n",
uidtoname(server_info->unix_token->uid),
lp_printername(tmp_ctx, lp_sub, snum)));