]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix 3.0.3 Win build
authorKern Sibbald <kern@sibbald.com>
Wed, 14 Oct 2009 19:31:37 +0000 (21:31 +0200)
committerKern Sibbald <kern@sibbald.com>
Wed, 14 Oct 2009 19:31:37 +0000 (21:31 +0200)
bacula/src/filed/restore.c
bacula/src/win32/cats/bacula_cats.def

index 801ae45a6bd03fc4f1534b85d20e080006f97978..2ed6127c6694bf210b68e7acb8d11ba96633594e 100644 (file)
@@ -971,7 +971,7 @@ bool decompress_data(JCR *jcr, char **data, uint32_t *length)
                            (const Byte *)*data, (uLong)*length)) == Z_BUF_ERROR)
    {
       /* The buffer size is too small, try with a bigger one */
-      compress_len = jcr->compress_buf_size = jcr->compress_buf_size + jcr->compress_buf_size >> 1;
+      compress_len = jcr->compress_buf_size = jcr->compress_buf_size + (jcr->compress_buf_size >> 1);
       Dmsg2(200, "Comp_len=%d msglen=%d\n", compress_len, *length);
       jcr->compress_buf = check_pool_memory_size(jcr->compress_buf,
                                                  compress_len);
index 98504f016fe2b0b4cb0680df64dd2e7ed06bc33a..4c24d7b51021ca1c0fcb8a7ec7ea5b3cc3999346 100644 (file)
@@ -24,6 +24,7 @@ _ZN9dbid_listC2Ev
 _ZN9dbid_listD1Ev
 _ZN9dbid_listD2Ev
 _Z13_dbg_print_dbP3JCRP6_iobuf
+_Z15db_list_handlerPviPPc
  
 ; sql_create.o
 _Z20db_create_job_recordP3JCRP4B_DBP7JOB_DBR