[70057] branches/gsoc10-gui/Pallet/MPActionsController.m

tzikis at macports.org tzikis at macports.org
Wed Jul 28 11:53:34 PDT 2010


Revision: 70057
          http://trac.macports.org/changeset/70057
Author:   tzikis at macports.org
Date:     2010-07-28 11:53:33 -0700 (Wed, 28 Jul 2010)
Log Message:
-----------
Fixed a bug with conflicts checking, where the program would crash when there were no conflicts

Modified Paths:
--------------
    branches/gsoc10-gui/Pallet/MPActionsController.m

Modified: branches/gsoc10-gui/Pallet/MPActionsController.m
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionsController.m	2010-07-28 18:50:00 UTC (rev 70056)
+++ branches/gsoc10-gui/Pallet/MPActionsController.m	2010-07-28 18:53:33 UTC (rev 70057)
@@ -333,6 +333,7 @@
 		
 		token = strtok(buffer, search);
 		printf("token: %s\n",token);
+		if(token == NULL) break;
 		
 		UInt i;
 		for(i=0; i<10; i++)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100728/e37be788/attachment-0001.html>


More information about the macports-changes mailing list