Changeset 1214 for box/trunk/bin/bbackupquery/BackupQueries.cpp
- Timestamp:
- 14/12/2006 23:50:25 (5 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbackupquery/BackupQueries.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupquery/BackupQueries.cpp
r1211 r1214 924 924 std::string fileName(args[0]); 925 925 926 if(!opts['i'])927 {928 // does this remote filename include a path?929 std::string::size_type index = fileName.rfind('/');930 if(index != std::string::npos)931 {932 std::string dirName(fileName.substr(0, index));933 fileName = fileName.substr(index + 1);934 935 dirId = FindDirectoryObjectID(dirName);936 if(dirId == 0)937 {938 printf("Directory '%s' not found\n",939 dirName.c_str());940 return;941 }942 }943 }944 945 926 BackupStoreFilenameClear fn(fileName); 946 927
Note: See TracChangeset
for help on using the changeset viewer.
