Skip to content
Snippets Groups Projects
Commit 01a8e53c authored by yanmorin's avatar yanmorin
Browse files

add fixes
parent 64cf13cd
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ public:
bool argsAreValid = false;
// Args are: account callid destination
// acc1000 c10345 sip:test@test.com
if (iter != _argList.end() && iter->find("acc")==0) {
if (iter != _argList.end() && iter->length()!=0) {
_account = *iter;
_argList.pop_front();
iter = _argList.begin();
......
......@@ -46,6 +46,7 @@ RequestFactory::create(const std::string& requestLine)
} catch (...) {
// if the create return an exception
// we create a syntaxerror
return create("syntaxerror", sequenceId, tList);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment