Diff for /libaitwww/src/url.c between versions 1.3 and 1.3.4.1

version 1.3, 2012/09/20 14:19:45 version 1.3.4.1, 2013/01/17 14:52:44
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 189  www_URLGetFile(struct tagIOURL * __restrict url, ait_v Line 189  www_URLGetFile(struct tagIOURL * __restrict url, ait_v
         if (!url || !value)          if (!url || !value)
                 return -1;                  return -1;
   
        psBuf = io_strdup(AIT_GET_STR(&url->url_path));        psBuf = e_strdup(AIT_GET_STR(&url->url_path));
         if (!psBuf) {          if (!psBuf) {
                www_SetErr(io_GetErrno(), "%s", io_GetError());                www_SetErr(elwix_GetErrno(), "%s", elwix_GetError());
                 return -1;                  return -1;
         } else          } else
                 AIT_FREE_VAL(value);                  AIT_FREE_VAL(value);
Line 210  www_URLGetFile(struct tagIOURL * __restrict url, ait_v Line 210  www_URLGetFile(struct tagIOURL * __restrict url, ait_v
         }          }
   
         AIT_SET_STR(value, pos);          AIT_SET_STR(value, pos);
        io_free(psBuf);        e_free(psBuf);
         return ret;          return ret;
 }  }
   

Removed from v.1.3  
changed lines
  Added in v.1.3.4.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>