Don't use default arguments for closing the network connection.

This commit is contained in:
Jonathan Naylor
2021-04-09 10:16:52 +01:00
parent a962971b11
commit daa54d3d32
4 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015,2016,2017,2018,2020 by Jonathan Naylor G4KLX
* Copyright (C) 2015,2016,2017,2018,2020,2021 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -370,7 +370,7 @@ void CDMRNetwork::clock(unsigned int ms)
the Network sometimes times out and reaches here.
We want it to reconnect so... */
LogError("%s, Login to the master has failed, retrying network ...", m_name.c_str());
close();
close(false);
open();
return;
}