fix reversed logic in test of Delivery::set_name()
Note that the Delivery::set_name() method worked correctly, but the Route::set_name() method would return false incorrectly. This appears to have no consequences.
This commit is contained in:
parent
0a19b719d4
commit
949b4d4017
@ -4756,7 +4756,7 @@ Route::set_name (const string& str)
|
||||
*/
|
||||
|
||||
if (_main_outs) {
|
||||
if (_main_outs->set_name (newname)) {
|
||||
if (!_main_outs->set_name (newname)) {
|
||||
/* XXX returning false here is stupid because
|
||||
we already changed the route name.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user