fetchmail-friends
[Top] [All Lists]

Re: broken plugin code

2001-02-18 15:05:25
On 17 Feb 2001, Todd Sabin wrote:

The strcat (plugin_copy + plugin_copy_offset... stuff should really be
    strcpy .....  See?

It didn't crash my machine. ;-)

Seriously, I think it's a bug in your strcat() (we should still change it
to strcpy() though.)

(...double checking man pages over strcat() behavior...)

Correct me if I'm wrong, but when dst[0] == '\0', strcat(dst, src) should
behave the same as strcpy(dst, src)?

davez

-- 
Dave Zarzycki
http://thor.sbay.org/~dave/



<Prev in Thread] Current Thread [Next in Thread>