fix possible crash when setting delivery name w/o panshell

This commit is contained in:
Robin Gareus 2014-06-11 20:21:14 +02:00 committed by Paul Davis
parent a5eacb7552
commit 65671fd59e

View file

@ -557,7 +557,7 @@ Delivery::set_name (const std::string& name)
{
bool ret = IOProcessor::set_name (name);
if (ret) {
if (ret && _panshell) {
ret = _panshell->set_name (name);
}