Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_gadcon.c 


Log Message:
No need to continue looping after the id is rejected.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- e_gadcon.c  31 Dec 2006 10:07:12 -0000      1.61
+++ e_gadcon.c  31 Dec 2006 12:23:16 -0000      1.62
@@ -670,7 +670,11 @@
        for (l = cf_gc->clients; l; l = l->next)
          {
             cf_gcc = l->data;
-            if (!strcmp(buf, cf_gcc->id)) ok = 0;
+            if (!strcmp(buf, cf_gcc->id))
+              {
+                 ok = 0;
+                 break;
+              }
          }
        id++;
      }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to