Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: [PATCH for 0.91] (Was: Still having mail problems with version 0.88)
Date: 04 Jul 1999 18:41:57 -0400	[thread overview]
Message-ID: <ltwvwgdolm.fsf@asfast.com> (raw)
In-Reply-To: Hrvoje Niksic's message of "04 Jul 1999 23:22:25 +0200"

Hrvoje Niksic <hniksic@srce.hr> writes:

> Lloyd Zusman <ljz@asfast.com> writes:
> 
> > Well, I actually had some time this weekend, so I ended up doing
> > more than that: I traced through the code in version 0.91 and
> > finally found what was causing the problem.  The following patch to
> > pgnus-0.91 shows what I did to fix this.
> 
> Judging your patch, it appears that `mail-source-callback' can return
> nil, right?

The fact that it returned nil is indeed what broke my code, but I'm
wondering if this is proper.  I'm wondering if perhaps the fact that
it returned nil is actually a symptom of a deeper problem.

What do any of you folks think?


> Then I guess you could modify the code like this:
> 
> - 	  (incf found (mail-source-callback callback file))))
> + 	  (incf found (or (mail-source-callback callback file) 0))))

Well, the final line would probably have to be this, instead ...

> + 	  (incf found (or (mail-source-callback callback file) 1))))

... since `incf' defaults to treating its final argument as a `1' if
it's missing.

But otherwise, I agree with your suggestion.

> [ ... ]


-- 
 Lloyd Zusman
 ljz@asfast.com


  reply	other threads:[~1999-07-04 22:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-15 13:03 Still having mail problems with version 0.88 Lloyd Zusman
1999-07-03  9:20 ` Lars Magne Ingebrigtsen
1999-07-04 20:11   ` [PATCH for 0.91] (Was: Still having mail problems with version 0.88) Lloyd Zusman
1999-07-04 21:22     ` Hrvoje Niksic
1999-07-04 22:41       ` Lloyd Zusman [this message]
1999-07-05  4:50         ` Lars Magne Ingebrigtsen
1999-07-05  6:08           ` Lloyd Zusman
1999-07-06  3:52             ` Lars Magne Ingebrigtsen
1999-07-06  4:33               ` Lloyd Zusman
1999-07-06  5:13                 ` Lars Magne Ingebrigtsen
1999-07-06  7:52                   ` David Hedbor
1999-07-06 14:51                   ` Lloyd Zusman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ltwvwgdolm.fsf@asfast.com \
    --to=ljz@asfast.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).