summaryrefslogtreecommitdiff
path: root/backend/epson2_net.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 16:59:49 +0200
commit1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (patch)
treed78102ce30207c63e7608eeba743efd680c888dc /backend/epson2_net.c
parent58912f68c2489bcee787599837447e0d64dfd61a (diff)
New upstream version 1.0.28upstream/1.0.28
Diffstat (limited to 'backend/epson2_net.c')
-rw-r--r--backend/epson2_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/epson2_net.c b/backend/epson2_net.c
index 4b3e7e9..8d0fe9e 100644
--- a/backend/epson2_net.c
+++ b/backend/epson2_net.c
@@ -124,7 +124,7 @@ sanei_epson_net_read(Epson_Scanner *s, unsigned char *buf, ssize_t wanted,
if (read < 0) {
return 0;
}
-
+
/* } else if (wanted < size && s->netlen == size) { */
} else {
DBG(23, "%s: partial read\n", __func__);
@@ -187,7 +187,7 @@ sanei_epson_net_write(Epson_Scanner *s, unsigned int cmd, const unsigned char *b
DBG(24, "H1[0]: %02x %02x %02x %02x\n", h1[0], h1[1], h1[2], h1[3]);
if((cmd >> 8) == 0x20) {
- htobe32a(&h1[6], buf_size + 8);
+ htobe32a(&h1[6], buf_size + 8);
htobe32a(&h2[0], buf_size);
htobe32a(&h2[4], reply_len);