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

Re: [pbmserv-dev] Adding a command to a game



On Thu, Sep 22, 2005 at 12:49:09AM -0600, Robert Barrell wrote:
> >The "not implemented" default works, but I'm getting a segmentation 
> >fault when the Go version of the function is called.
> 
> 
> Okay: the seg fault is fixed.  The one thing missing now is to format it 
> for and send it to sendmail().  Is there already something that handles 
> this so that I don't wind up re-inventing the wheel by doing a bunch of 
> "fprintf" function and/or "mail." object calls in a row?

Nope.   you'll just fprintf() to the mail.fp().

(Yes, I Know... not very C++-ish... sue me)


-- 
 /  \__  | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
 \__/  \ | http://www.gamerz.net/~rrognlie    <rrognlie at gamerz.net>
 /  \__/ | Creator of pbmserv@gamerz.net
 \__/    |                Helping reduce world productivity since 1994