From: Kern Sibbald Date: Sat, 24 Apr 2004 20:29:14 +0000 (+0000) Subject: Minor cleanup X-Git-Tag: Release-7.0.0~9466 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5510bfca6525dd7090094fd3d22aff660875dc82;p=bacula%2Fbacula Minor cleanup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1294 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/lib/bnet.c b/bacula/src/lib/bnet.c index 9d2b42911e..94c7285894 100644 --- a/bacula/src/lib/bnet.c +++ b/bacula/src/lib/bnet.c @@ -272,7 +272,7 @@ int is_bnet_error(BSOCK *bsock) * messages which are due to the other end shutting down too. */ void -bnet_suppress_error_messages(BSOCK *bsock, int flag) +bnet_suppress_error_messages(BSOCK *bsock, bool flag) { bsock->suppress_error_msgs = flag; } diff --git a/bacula/src/lib/protos.h b/bacula/src/lib/protos.h index 5d79868fc3..303011f681 100644 --- a/bacula/src/lib/protos.h +++ b/bacula/src/lib/protos.h @@ -84,7 +84,7 @@ int bnet_wait_data_intr (BSOCK *bsock, int sec); int bnet_despool_to_bsock (BSOCK *bsock); int is_bnet_stop (BSOCK *bsock); int is_bnet_error (BSOCK *bsock); -void bnet_suppress_error_messages(BSOCK *bsock, int flag); +void bnet_suppress_error_messages(BSOCK *bsock, bool flag); /* bget_msg.c */ int bget_msg(BSOCK *sock);