git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9052
91ce42f0-d328-0410-95d8-
f526ca767f89
memset(jcr, 0, sizeof(JCR));
mainWin->set_statusf(_("Connecting to Director %s:%d"), m_console->m_dir->address, m_console->m_dir->DIRport);
- m_console->display_textf(_("Connecting to Director %s:%d\n\n"), m_console->m_dir->address, m_console->m_dir->DIRport);
+ if (m_conn == 0) {
+ m_console->display_textf(_("Connecting to Director %s:%d\n\n"), m_console->m_dir->address, m_console->m_dir->DIRport);
+ }
/* Give GUI a chance */
app->processEvents();
dir->host(), dir->port());
return false;
} else {
- bsnprintf(errmsg, errmsg_len, "%s", dir->msg);
+ if (m_conn == 0) {
+ bsnprintf(errmsg, errmsg_len, "%s", dir->msg);
+ }
}
return true;