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