fix problem with last commit

there was no other missing stamps problem actually, just this
This commit is contained in:
jacob1 2012-10-02 16:55:45 -04:00 committed by Simon Robertshaw
parent 34fdffa340
commit 7313bd81ca

View File

@ -921,7 +921,7 @@ void Client::UnDeleteStamps()
stampIDs.clear();
while (entry = readdir(directory))
{
if(strncmp(entry->d_name, "..", 3) && strncmp(entry->d_name, ".", 2) && strcmp(entry->d_name, ".stm"))
if(strncmp(entry->d_name, "..", 3) && strncmp(entry->d_name, ".", 2) && strstr(entry->d_name, ".stm"))
{
char stampname[11];
strncpy(stampname, entry->d_name, 10);