]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/blob - debian/patches/queueid_in_envrcpt
Don't bother to report the queue id as a debugging value
[deb_pkgs/spamass-milter.git] / debian / patches / queueid_in_envrcpt
1 --- a/spamass-milter.cpp
2 +++ b/spamass-milter.cpp
3 @@ -784,7 +784,6 @@
4  {
5    SpamAssassin* assassin;
6    struct context *sctx = (struct context *)smfi_getpriv(ctx);
7 -  const char *queueid;
8  
9    if (sctx == NULL)
10    {
11 @@ -837,16 +836,6 @@
12    // remember the MAIL FROM address
13    assassin->set_from(string(envfrom[0]));
14    
15 -  queueid=smfi_getsymval(ctx, const_cast<char *>("i"));
16 -  if (!queueid)
17 -  {
18 -    queueid="unknown";
19 -    warnmacro("i", "ENVFROM");
20 -  }
21 -  assassin->queueid = queueid;
22 -
23 -  debug(D_MISC, "queueid=%s", queueid);
24 -
25    // tell Milter to continue
26    debug(D_FUNC, "mlfi_envfrom: exit");
27