--- lmtp2nntp_config.c 2003/01/30 19:42:12 1.89
+++ lmtp2nntp_config.c 2003/01/30 19:45:20 1.90
@@ -82,12 +82,12 @@
#define NUL '\0'
#endif
-static l2_result_t
+static l2_result_t
formatter_prefix(l2_context_t *_ctx, const char id, const char *param,
char *bufptr, size_t bufsize, size_t *buflen, va_list *ap)
{
lmtp2nntp_t *ctx = (lmtp2nntp_t *)_ctx->vp;
-
+
if ((ctx->msg != NULL) && (ctx->msg->cpFid != NULL)) {
sprintf(bufptr, "%s: ", ctx->msg->cpFid);
*buflen = strlen(bufptr);
@@ -98,10 +98,10 @@
}
static var_syntax_t syntax_regex = {
- '\\', /* escape */
- '$', /* varinit */
- '{', /* startdelim */
- '}', /* enddelim */
+ '\\', /* escape */
+ '$', /* varinit */
+ '{', /* startdelim */
+ '}', /* enddelim */
NUL, /* startindex */
NUL, /* endindex */
NUL, /* current_index */
@@ -468,8 +468,8 @@
logbook(ctx->l2, L2_LEVEL_ERROR, "option --client, create address (internal) failed with \"%s\"", sa_error(sa_rc));
throw(0,0,0);
}
- if ((sa_rc = sa_addr_u2a(ctx->saaClientbind,
- (strchr(ov->data.s, ':') == NULL) ? "inet://%s:0" : "inet://%s",
+ if ((sa_rc = sa_addr_u2a(ctx->saaClientbind,
+ (strchr(ov->data.s, ':') == NULL) ? "inet://%s:0" : "inet://%s",
ov->data.s)) != SA_OK) {
logbook(ctx->l2, L2_LEVEL_ERROR, "option --client, parsing alternate IO guessing INET socket (%s) failed with \"%s\"", ov->data.s, sa_error(sa_rc));
throw(0,0,0);
@@ -582,7 +582,7 @@
hrNew->val = NULL;
hrNew->pcreRegex = NULL;
hrNew->pcreExtra = NULL;
-
+
/* priority */
cpP = cp;
if ((cp = strchr(cp, ':')) == NULL) {
@@ -858,7 +858,7 @@
|| (ov->ndata > 1)
) throw(0,0,0);
logbook(ctx->l2, L2_LEVEL_TRACE, "--timeoutlmtp= \"%s\"", ov->data.s);
-
+
if (ov->ndata == 1) {
if ((i = atoi(ov->data.s)) < 0) {
logbook(ctx->l2, L2_LEVEL_ERROR, "option --timeoutlmtp, number (%d) out of range", i);
|