From: eric Date: Wed, 22 Sep 2021 17:19:58 +0000 (+0000) Subject: remove test traces committed by mistake X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=94caa6bbf441c78bb03274d68fcc2a59eca0a2d5;p=openbsd remove test traces committed by mistake --- diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c index f50bf78fc4a..cac9108349e 100644 --- a/usr.sbin/smtpd/lka_session.c +++ b/usr.sbin/smtpd/lka_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka_session.c,v 1.96 2021/09/22 17:11:35 eric Exp $ */ +/* $OpenBSD: lka_session.c,v 1.97 2021/09/22 17:19:58 eric Exp $ */ /* * Copyright (c) 2011 Gilles Chehade @@ -278,12 +278,11 @@ lka_expand(struct lka_session *lks, struct rule *rule, struct expandnode *xn) ep.flags |= EF_INTERNAL; /* handle SRS */ - if (env->sc_srs_key != NULL && printf("LKA 0\n") && - ep.sender.user[0] == '\0' && printf("LKA 1\n") && + if (env->sc_srs_key != NULL && + ep.sender.user[0] == '\0' && (strncasecmp(ep.dest.user, "SRS0=", 5) == 0 || strncasecmp(ep.dest.user, "SRS1=", 5) == 0)) { srs_decoded = srs_decode(mailaddr_to_text(&ep.dest)); - printf("SRS DECODED: %s\n", srs_decoded); if (srs_decoded && text_to_mailaddr(&ep.dest, srs_decoded)) { /* flag envelope internal and override dest */