]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add patch for #1091
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 23 May 2008 20:58:10 +0000 (20:58 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 23 May 2008 20:58:10 +0000 (20:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@7012 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/2.2.8-estimate-output.patch [new file with mode: 0644]

diff --git a/bacula/patches/2.2.8-estimate-output.patch b/bacula/patches/2.2.8-estimate-output.patch
new file mode 100644 (file)
index 0000000..d0539ae
--- /dev/null
@@ -0,0 +1,27 @@
+
+ This patch fixes bug #1091 about wrong output in estimate
+ command.
+
+ Apply the patch to 2.2.8 (and possibly any 2.2.x version with):
+
+ cd <bacula-source>
+ patch -p0 <2.2.8-estimate-output.patch
+ ./configure <your-options>
+ make
+ ...
+ make install
+
+
+Index: src/dird/ua_cmds.c
+===================================================================
+--- src/dird/ua_cmds.c  (rĂ©vision 7010)
++++ src/dird/ua_cmds.c  (copie de travail)
+@@ -1158,7 +1158,7 @@
+    get_level_since_time(ua->jcr, since, sizeof(since));
+
+    ua->send_msg(_("Connecting to Client %s at %s:%d\n"),
+-      job->client->name(), job->client->address, job->client->FDport);
++      jcr->client->name(), jcr->client->address, jcr->client->FDport);
+    if (!connect_to_file_daemon(jcr, 1, 15, 0)) {
+       ua->error_msg(_("Failed to connect to Client.\n"));
+       return 1;