Revision
1025
Author
mww@apple.com
Date
2012-03-13 16:42:51 -0700 (Tue, 13 Mar 2012)

Log Message

Fix string length mismatch.

Modified Paths

Diff

Modified: branches/PR-11042608/darwinup/Depot.cpp (1024 => 1025)


--- branches/PR-11042608/darwinup/Depot.cpp	2012-03-13 23:21:18 UTC (rev 1024)
+++ branches/PR-11042608/darwinup/Depot.cpp	2012-03-13 23:42:51 UTC (rev 1025)
@@ -556,7 +556,7 @@
 						this->m_modified_xpc_services = true;
 					}
 
-					if ((strncmp(file->path(), "/System/Library/Sandbox/Profiles", 33) == 0) ||
+					if ((strncmp(file->path(), "/System/Library/Sandbox/Profiles", 32) == 0) ||
 						(has_suffix(file->path(), "framework.sb"))) {
 						IF_DEBUG("[analyze]    profile modification detected\n");
 						this->m_modified_xpc_services = true;