<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Header cache and slashes



On Sun, Apr 02, 2006 at 12:43:35PM +0200 I heard the voice of
Christian Ebert, and lo! it spake thus:
> 
> I fully understand that the patch as it is might be gruesome from a
> programers point of view;

Actually, it's extra gruesome, because I mis-rewrote the patch (the
original, which I run, was against an already-otherwise-patched mutt).
Specifically, the:

+  while(ft2 > ftmp && *ft2=='/')
+    *ft2 = '\0';

bits should of course be:

+  while(ft2 > ftmp && *ft2=='/')
+    *ft2-- = '\0';

Doesn't do any HARM as if, of course, but it'll only ever chop one
trailing /, instead of multiples (though you'd have to be extra
perverse to get 2 or 3 of 'em ;)


-- 
Matthew Fuller     (MF4839)   |  fullermd@xxxxxxxxxxxxxxx
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.