summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-12-12 07:15:25 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-12-12 07:15:25 -0500
commit53904729c5731b8fd2d0466b9d3b5a646680ee23 (patch)
tree68d9ae00b92d6d782edb35967a9e0fcf3aeb03c8 /backend_mitsu9550.c
parent0a70fd1612858db7844992218f2b0559bdb334be (diff)
downloadselphy_print-53904729c5731b8fd2d0466b9d3b5a646680ee23.tar.gz
selphy_print-53904729c5731b8fd2d0466b9d3b5a646680ee23.tar.bz2
selphy_print-53904729c5731b8fd2d0466b9d3b5a646680ee23.zip
misc: use CUPS_BACKEND_OK instead of 0 as a return value.
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 4586a69..2145bfc 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -898,7 +898,7 @@ static int mitsu9550_get_status(struct mitsu9550_ctx *ctx, uint8_t *resp, int st
return 4;
}
- return 0;
+ return CUPS_BACKEND_OK;
}
static char *mitsu9550_media_types(uint8_t type, uint8_t is_s)
@@ -1128,7 +1128,7 @@ static int validate_media(int type, int media, int cols, int rows)
WARNING("Unknown printer type %d\n", type);
break;
}
- return 0;
+ return CUPS_BACKEND_OK;
}
static int mitsu9550_main_loop(void *vctx, const void *vjob) {
@@ -1667,7 +1667,7 @@ static int mitsu9550_cmdline_arg(void *vctx, int argc, char **argv)
if (j) return j;
}
- return 0;
+ return CUPS_BACKEND_OK;
}
static int mitsu9550_query_markers(void *vctx, struct marker **markers, int *count)