summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-11-17 20:11:54 +0000
committerHenri Herscher <henri@oreka.org>2005-11-17 20:11:54 +0000
commit1ff1adc0e68aa0080f31c60ce12077ddf7be9b02 (patch)
tree21a9a40f1f2479d680953a1b6cef49e2f886dc47
parentc6fb46ee53cb3195ebedaa2fdf8f584d5ab27eea (diff)
Service name is now accepted with no path information.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@51 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r--orkbasecxx/Utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/orkbasecxx/Utils.h b/orkbasecxx/Utils.h
index 8d41a10..b50872a 100644
--- a/orkbasecxx/Utils.h
+++ b/orkbasecxx/Utils.h
@@ -69,6 +69,10 @@ inline CStdString BaseName(CStdString& path)
{
result = path.Right(path.GetLength() - lastSeparatorPosition - 1);
}
+ else
+ {
+ result = path;
+ }
return result;
}