Home
last modified time | relevance | path

Searched refs:psrlen (Results 1 – 1 of 1) sorted by relevance

/external/libcups/scheduler/
Djob.c992 size_t psrlen; /* Size of PRINTER_STATE_REASONS */ in cupsdContinueJob() local
994 for (psrlen = 22, i = 0; i < job->printer->num_reasons; i ++) in cupsdContinueJob()
995 psrlen += strlen(job->printer->reasons[i]) + 1; in cupsdContinueJob()
997 if ((printer_state_reasons = malloc(psrlen)) != NULL) in cupsdContinueJob()
1003 strlcpy(printer_state_reasons, "PRINTER_STATE_REASONS=", psrlen); in cupsdContinueJob()
1010 strlcpy(psrptr, job->printer->reasons[i], psrlen - (size_t)(psrptr - printer_state_reasons)); in cupsdContinueJob()