Skip to content

Commit

Permalink
Minor syntax fix to newly introduced UrlDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
elleithy committed Jan 16, 2015
1 parent 09a1b07 commit 9722f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScriptingCore/URI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ std::string FB::URI::UrlDirectory() const
if (!login.empty()) res << login << "@";
res << domain;
if (port) res << ":" << boost::lexical_cast<string>(port);
std:string dir = res.str();
std::string dir = res.str();
if (path.empty() || path[path.size()-1] == '/') return string();
size_t loc = path.rfind("/");
if (loc == std::string::npos) return path;
Expand Down

0 comments on commit 9722f95

Please sign in to comment.