From f50deaa5bcaabee43801491b1a68af8ffb0f37c0 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Thu, 22 Mar 2012 13:08:14 +0100 Subject: [PATCH] Fix bug #1848 bsock.c:335 Socket has errors=1 on call to client Removed the unneeded bnet_sig(dir, BNET_EOD) as the calling function changer_cmd in dircmd.c already sets the BNET_EOD on returning. So the autochanger_cmd function doesn't need to do it. --- bacula/src/stored/autochanger.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bacula/src/stored/autochanger.c b/bacula/src/stored/autochanger.c index 67d1780edd..9d6b243930 100644 --- a/bacula/src/stored/autochanger.c +++ b/bacula/src/stored/autochanger.c @@ -640,7 +640,6 @@ bool autochanger_cmd(DCR *dcr, BSOCK *dir, const char *cmd) be.set_errno(stat); dir->fsend(_("Autochanger error: ERR=%s\n"), be.bstrerror()); } - bnet_sig(dir, BNET_EOD); bail_out: unlock_changer(dcr); -- 2.39.5