X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ebc80d39510fbd9557cbea587e4f969436488746..7eecb2dcc4a30573ee644491a04e18d1acd7ec81:/uip/post.c diff --git a/uip/post.c b/uip/post.c index 681556b3..81bd7b4a 100644 --- a/uip/post.c +++ b/uip/post.c @@ -1849,7 +1849,7 @@ do_text (char *file, int fd) int retval, state; char buf[BUFSIZ]; - lseek (fd, (off_t) 0, SEEK_SET); + lseek(fd, 0, SEEK_SET); while ((state = read (fd, buf, sizeof(buf))) > 0) { if (rp_isbad (retval = sm_wtxt (buf, state))) @@ -1866,7 +1866,7 @@ do_text (char *file, int fd) case RP_NO: case RP_NDEL: die (NULL, "posting failed; %s", rp_string (retval)); - /* FALLTHRU */ + break; default: die (NULL, "unexpected response; %s", rp_string (retval));