summaryrefslogtreecommitdiffstats
path: root/backend_citizencw01.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-02-16 10:49:21 -0500
committerSolomon Peachy <pizza@shaftnet.org>2018-02-16 10:49:21 -0500
commited650abded40f8b01cfb091e45aabbfaf6445e2a (patch)
treeb95d2f955335d7d378955fcb013a3867d9c484e9 /backend_citizencw01.c
parent481a76757a06080626e6c54d735a7e5fb88b8595 (diff)
downloadselphy_print-ed650abded40f8b01cfb091e45aabbfaf6445e2a.tar.gz
selphy_print-ed650abded40f8b01cfb091e45aabbfaf6445e2a.tar.bz2
selphy_print-ed650abded40f8b01cfb091e45aabbfaf6445e2a.zip
all: use BACKEND_CUPS_RETRY_CURRENT for memory allocation failures.
Diffstat (limited to 'backend_citizencw01.c')
-rw-r--r--backend_citizencw01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_citizencw01.c b/backend_citizencw01.c
index b1b290f..6c4d681 100644
--- a/backend_citizencw01.c
+++ b/backend_citizencw01.c
@@ -359,7 +359,7 @@ static int cw01_read_parse(void *vctx, int data_fd) {
ctx->databuf = malloc(remain);
if (!ctx->databuf) {
ERROR("Memory allocation failure!\n");
- return CUPS_BACKEND_CANCEL;
+ return CUPS_BACKEND_RETRY_CURRENT;
}
j = 0;