Loading...
libkern/c++/OSSet.cpp xnu-3248.50.21 xnu-2050.48.11
--- xnu/xnu-3248.50.21/libkern/c++/OSSet.cpp
+++ xnu/xnu-2050.48.11/libkern/c++/OSSet.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2014 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
@@ -77,7 +77,7 @@
 
     for ( unsigned int i = 0; i < inCount; i++ ) {
 // xx-review: no test here for failure of setObject()
-        if (members->getCount() < capacity)
+        if (members->getCount() < inCapacity)
             setObject(inObjects[i]);
         else
             return false;