From: <gi...@ba...> - 2011-11-23 13:25:43
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community source". The branch, Branch-5.2 has been updated via 662f47fd2192df80384ea984bc8e3d28eabd7019 (commit) from 4c1cedcbd4d342b761903bcbe19b408951e82d05 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 662f47fd2192df80384ea984bc8e3d28eabd7019 Author: Kern Sibbald <ke...@si...> Date: Wed Nov 23 14:25:19 2011 +0100 Fix compile problems with stored/status.c ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/stored/status.c b/bacula/src/stored/status.c index 7c29ed6..505681d 100644 --- a/bacula/src/stored/status.c +++ b/bacula/src/stored/status.c @@ -369,12 +369,6 @@ static void send_device_status(DEVICE *dev, STATUS_PKT *sp) dev->num_reserved(), dev->blocked()); sendit(msg, len, sp); - locked = dev->lock_holder; - if (locked) { - len = Mmsg(msg, _("Waiting for device locked by: %s\n"), locked); - sendit(msg, len, sp); - } - len = Mmsg(msg, _("Device parameters:\n")); sendit(msg, len, sp); diff --git a/bacula/src/version.h b/bacula/src/version.h index d9f7e0a..5e77e56 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -56,6 +56,13 @@ /* If this is set stdout will not be closed on startup */ /* #define DEVELOPER 1 */ +/* adjust DEVELOPER_MODE for status command */ +#ifdef DEVELOPER +# define DEVELOPER_MODE 1 +#else +# define DEVELOPER_MODE 0 +#endif + /* * SMCHECK does orphaned buffer checking (memory leaks) * it can always be turned on, but has some minor performance hooks/post-receive -- Bacula Community source |