From 5ca4a0e5b65066f41af7c670e8200b0d0eba41dd Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Feb 2026 02:16:08 +0000 Subject: Just name it qmail-remote after all --- src/qmail-smtpc/qmailr_error.c | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/qmail-smtpc/qmailr_error.c (limited to 'src/qmail-smtpc/qmailr_error.c') diff --git a/src/qmail-smtpc/qmailr_error.c b/src/qmail-smtpc/qmailr_error.c deleted file mode 100644 index fcdce54..0000000 --- a/src/qmail-smtpc/qmailr_error.c +++ /dev/null @@ -1,38 +0,0 @@ -/* ISC license. */ - -#include -#include -#include - -#include - -#include - -void qmailr_diev (int permanent, char const *const *v, unsigned int n) -{ - buffer_put(buffer_1small, permanent ? "D" : "Z", 1) ; - while (n--) buffer_puts(buffer_1small, *v++) ; - buffer_putflush(buffer_1small, "\n", 2) ; - _exit(0) ; -} - -void qmailr_dievsys (char const *const *v, unsigned int n) -{ - char const *se = strerror(errno) ; - buffer_put(buffer_1small, "Z", 1) ; - while (n--) buffer_puts(buffer_1small, *v++) ; - buffer_put(buffer_1small, ": ", 2) ; - buffer_puts(buffer_1small, se) ; - buffer_putflush(buffer_1small, "\n", 2) ; - _exit(0) ; -} - -void qmailr_die (int permanent, char const *msg) -{ - qmailr_diev(permanent, &msg, 1) ; -} - -void qmailr_diesys (char const *msg) -{ - qmailr_dievsys(&msg, 1) ; -} -- cgit v1.3.1