bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mailutils configuration, some work needed


From: Sam Roberts
Subject: Re: Mailutils configuration, some work needed
Date: Thu, 28 Feb 2002 18:57:31 -0500
User-agent: Mutt/1.3.16i

Quoting Sergey Poznyakoff <address@hidden>, who wrote:
> > commit them, and I'll be away for the next two weekends, so
> > I might not get to working on the config stuff until then.
> 
> Never mind, I'll do it.
> 
> > int mu_debug_syslog(mu_debug_t d, size_t level, const char* fmt, va_list va)
> 
> What is the purpose of `mu_debug_t d'? It is not referenced in the
> text. Am I missing something?

It is always provided to the callback, though this particular callback
function doesn't have a use it (this is existing behaviour, see
mu_debug_set_print() in "mailutils/debug.h").

The example was just to show that the existing debug print callback
looks flexible enough to do the job of mu_error().

Sam


> > It seems to me that the mu_error() mechanism is a duplication. The
> > one thing it does, is that it can be called without having a debug
> > object, but that just makes me think everything should have a debug
> > object!
> 
> Agreed, this is reasonable. 
> 
> Regards,
> Sergey
> 
> 
> 
> _______________________________________________
> Bug-mailutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-mailutils

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]