summaryrefslogtreecommitdiff
path: root/src/hashtable.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-10-11 14:33:07 +0000
committerMike Buland <eichlan@xagasoft.com>2006-10-11 14:33:07 +0000
commit67c0930cbe7d0646cf4e4dee157ea553ee8a045a (patch)
tree3d3a751c871bd93077933c8f7daf28beba6b337a /src/hashtable.cpp
parent4a2cacc7975b635b32c7cd7c6ac274639477ed8c (diff)
downloadlibbu++-67c0930cbe7d0646cf4e4dee157ea553ee8a045a.tar.gz
libbu++-67c0930cbe7d0646cf4e4dee157ea553ee8a045a.tar.bz2
libbu++-67c0930cbe7d0646cf4e4dee157ea553ee8a045a.tar.xz
libbu++-67c0930cbe7d0646cf4e4dee157ea553ee8a045a.zip
Bugfixes, and pymake removal.
Diffstat (limited to 'src/hashtable.cpp')
-rw-r--r--src/hashtable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hashtable.cpp b/src/hashtable.cpp
index 37c3149..725ebc4 100644
--- a/src/hashtable.cpp
+++ b/src/hashtable.cpp
@@ -399,6 +399,7 @@ bool HashTable::del( const void *id, int nSkip )
399 for( unsigned long int j=0; j < 32; nPos = (nPos+(1<<j))%nTableSize, j++ ) 399 for( unsigned long int j=0; j < 32; nPos = (nPos+(1<<j))%nTableSize, j++ )
400 { 400 {
401 if( !isFilled( nPos ) ) return false; 401 if( !isFilled( nPos ) ) return false;
402 //printf("0x%08X \"%s\" == 0x%08X \"%s\" (%d)\n", id, id, aTable[nPos].id, aTable[nPos].id, nPos );
402 if( hFunc->cmpIDs( id, aTable[nPos].id ) && 403 if( hFunc->cmpIDs( id, aTable[nPos].id ) &&
403 aTable[nPos].bDeleted == false ) 404 aTable[nPos].bDeleted == false )
404 { 405 {