git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4880
91ce42f0-d328-0410-95d8-
f526ca767f89
void Console::terminate()
{
if (m_sock) {
+ stopTimer();
m_sock->close();
m_sock = NULL;
- stopTimer();
}
}
}
if (is_bnet_stop(m_sock)) { /* error or term request */
if (mainWin->m_commDebug) Pmsg0(000, "BNET STOP\n");
+ stopTimer();
m_sock->close();
m_sock = NULL;
- stopTimer();
mainWin->actionConnect->setIcon(QIcon(":images/disconnected.png"));
QBrush redBrush(Qt::red);
QTreeWidgetItem *item = mainWin->getFromHash(this);
*/
static int tls_pem_callback(char *buf, int size, const void *userdata)
{
+ (void)size;
+ (void)userdata;
#ifdef HAVE_TLS
const char *prompt = (const char *)userdata;
# if defined(HAVE_WIN32)