summaryrefslogtreecommitdiff
blob: b4350ab645c56560ee01a3fd7d281eefb35b4411 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/PartFile.cpp	2003-08-26 19:33:22.000000000 +0200
+++ src/PartFile.cpp	2003-09-14 23:26:48.000000000 +0200
@@ -464,7 +464,7 @@
 			// rehash
 			SetPartFileStatus(PS_WAITINGFORHASH);
 
-			CAddFileThread::AddFile(directory, searchpath, this);
+			CAddFileThread::AddFile(directory, basename(searchpath), this);
 		}
 	delete[] searchpath;