poldek: poldek/conf.c - bugfix: for 'group' sources path is not re...

mis mis at pld-linux.org
Mon Jan 8 17:50:07 CET 2007


Author: mis                          Date: Mon Jan  8 16:50:07 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- bugfix: for 'group' sources path is not required

---- Files affected:
poldek/poldek:
   conf.c (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: poldek/poldek/conf.c
diff -u poldek/poldek/conf.c:1.81 poldek/poldek/conf.c:1.82
--- poldek/poldek/conf.c:1.81	Sun Apr  2 21:10:36 2006
+++ poldek/poldek/conf.c	Mon Jan  8 17:50:02 2007
@@ -354,7 +354,8 @@
             const char *missing_tag = tags[i].name;
 
             if (n_str_eq(sect->name, "source") &&
-                n_str_eq(tags[i].name, "url")) {
+                (n_str_eq(tags[i].name, "path") || n_str_eq(tags[i].name, "url"))) {
+                    
                 const char *t = poldek_conf_get(ht, "type", NULL);
                 
                 if (t && n_str_eq(t, "group")) { /* source group */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/conf.c?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list