pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Problems downloading uuencoded binaries


From: Miguel Rubio
Subject: Re: [Pan-users] Problems downloading uuencoded binaries
Date: Sun, 12 Jan 2003 22:33:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9

Vadim Berezniker wrote:
Miguel Rubio wrote:
I made this change in util-mime.c :
*new util-mime.c*: static gboolean uu_is_ending_line (const char *
line) { return line!=NULL && !g_strncasecmp(line,"end",3) &&
!strstr(line,"cut") && !strstr(line,"CUT") &&
!g_strncasecmp(line,"fin",3); }

Shouldn't that be

return line!=NULL && ((!g_strncasecmp(line,"end",3) &&
!strstr(line,"cut") && !strstr(line,"CUT")) || !g_strncasecmp(line,"fin",3))

You were checking if the line was both 'end' and 'fin' ..

Yes. You're right.

Thanks

--
Miguel Rubio
GNU/Linux Debian unstable
miguel.rubio at hispalinux dot es





reply via email to

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