From 7313bd81ca0fb497062ce350caa89e7e813f54f0 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 2 Oct 2012 16:55:45 -0400 Subject: [PATCH] fix problem with last commit there was no other missing stamps problem actually, just this --- src/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index a1becf494..511e659f4 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -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);