X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cc;fp=Socket%2FSocketHandle.cc;h=d0e7e91a64d532b81db9751fa7117766993f379d;hb=b2d64a4084a053f0887c7845bb81074e0cd3a855;hp=186953aa2988386cfc37d3991541d965c9adfc82;hpb=c5ab87643518405aa5171ed4602f7234873a4900;p=senf.git diff --git a/Socket/SocketHandle.cc b/Socket/SocketHandle.cc index 186953a..d0e7e91 100644 --- a/Socket/SocketHandle.cc +++ b/Socket/SocketHandle.cc @@ -99,12 +99,14 @@ prefix_ bool satcom::lib::detail::StateMapOrdering::operator()(std::string a1, s return false; if (contains(i2,i2_end,'.')) // the longer string is a sub-'directory' of the shorter + // FIXME: shouldn't this be *i2 == '.' ? return true; return *i1 < *i2; } else if (i2 == i2_end) { // && i1 != i1_end if (contains(i1,i1_end,'.')) // the longer string is a sub-'directory' of the shorter + // FIXME: shouldn't this be *i1 == '.' ? return false; return *i1 < *i2; }