[Initng-svn] r3827 - initng/trunk/src

svn at initng.thinktux.net svn at initng.thinktux.net
Tue Apr 18 13:22:15 CEST 2006


Author: jimmy
Date: Tue Apr 18 13:22:13 2006
New Revision: 3827

Modified:
   initng/trunk/src/initng_service_cache.c

Log:
Warn.


Modified: initng/trunk/src/initng_service_cache.c
==============================================================================
--- initng/trunk/src/initng_service_cache.c	(original)
+++ initng/trunk/src/initng_service_cache.c	Tue Apr 18 13:22:13 2006
@@ -54,14 +54,8 @@
 	found=initng_service_cache_find_by_exact_name(s->name);
 	if (found)
 	{
+		W_("Service %s alredy in db, please look there before parsing\n", s->name);
 		return(TRUE);
-		/* ITs this one alredy added */
-		if(found == s)
-			return(TRUE);
-		
-		printf("Freeing %s\n", found->name);
-		/* Remove the duplicate old entry */
-		initng_service_cache_free(found);
 	}
 
 	/* if not found, add this one on the list */


More information about the Initng-svn mailing list