On Wednesday 17 December 2003 22:49, [EMAIL PROTECTED] 
wrote:
> @@ -293,12 +297,12 @@
>      int iw, ih;
>      char outfile[PATH_MAX];
>
> -    if(!e || !e->hash || !e->src) return(EPSILON_FAIL);
>  #ifdef HAVE_EPEG_H
>      Epeg_Image *im;
>      Epeg_Thumbnail_Info info;
>      int len = 0;
>      len = strlen(e->src);
> +    if(!e || !e->hash || !e->src) return(EPSILON_FAIL);
>      if((len > 4) &&
>       (
>       !strcmp(&e->src[len-3], "jpg") ||

i dont think you want that if check there ...
(1) it's inside of the HAVE_EPEG_H
(2) you use do strlen(e->src) just before checking !e ...

perhaps you'll need 2 sets of HAVE_EPEG_H ... one for declaring and one for 
actual code with the if statement inbetween the blocks ?
-mike

Attachment: pgp00000.pgp
Description: signature

Reply via email to