changeset 1530:3effaac0ddb7

silly bug fixed - thanx Szekeres Istvan <szekeres@webvilag.com>
author arpi
date Wed, 15 Aug 2001 12:44:05 +0000
parents 81aa2d701ae0
children 31df4b3fc37a
files url.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/url.c	Wed Aug 15 12:09:00 2001 +0000
+++ b/url.c	Wed Aug 15 12:44:05 2001 +0000
@@ -106,7 +106,7 @@
 
 void
 url_free(URL_t* url) {
-	if(url) return;
+	if(!url) return;
 	if(url->url) free(url->url);
 	if(url->protocol) free(url->protocol);
 	if(url->hostname) free(url->hostname);