Revision
866
Author
wsiegrist@apple.com
Date
2010-08-18 14:14:48 -0700 (Wed, 18 Aug 2010)

Log Message

Fix typo that was crashing diff plugin when the 2nd build had a project the first build did not have.

Modified Paths

Diff

Modified: trunk/darwinxref/plugins/diff.c (865 => 866)


--- trunk/darwinxref/plugins/diff.c	2010-08-11 00:37:59 UTC (rev 865)
+++ trunk/darwinxref/plugins/diff.c	2010-08-18 21:14:48 UTC (rev 866)
@@ -111,7 +111,7 @@
 
     } else if (res == kCFCompareGreaterThan) {
       // 1 got ahead of 2, which means 1 is missing a project
-      CFStringRef version2 = DBCopyPropString(build2, projectName1, CFSTR("version"));
+      CFStringRef version2 = DBCopyPropString(build2, projectName2, CFSTR("version"));
       cfprintf(stdout, "%@-%@ only in %@\n", projectName2, version2, build2);
       CFRelease(version2);
       ++j;