summaryrefslogtreecommitdiffstats
path: root/backend_shinkos2145.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_shinkos2145.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_shinkos2145.c')
-rw-r--r--backend_shinkos2145.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_shinkos2145.c b/backend_shinkos2145.c
index 719a521..122c194 100644
--- a/backend_shinkos2145.c
+++ b/backend_shinkos2145.c
@@ -1472,7 +1472,7 @@ static int shinkos2145_read_parse(void *vctx, int data_fd) {
ctx->databuf = malloc(ctx->datalen);
if (!ctx->databuf) {
ERROR("Memory allocation failure!\n");
- return CUPS_BACKEND_FAILED;
+ return CUPS_BACKEND_RETRY_CURRENT;
}
{