/*
Bacula® - The Network Backup Solution
- Copyright (C) 2001-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2001-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
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;