]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Windows build
authorKern Sibbald <kern@sibbald.com>
Sat, 24 Apr 2010 02:47:55 +0000 (04:47 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:44 +0000 (16:53 +0200)
bacula/src/filed/backup.c

index 7fd9bf70e37c794919c797316b65c05e28558a0e..26ea47809a59bd9375be2f943d83f70ba4dafb8e 100644 (file)
@@ -1106,7 +1106,7 @@ bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream)
    BSOCK *sd = jcr->store_bsock;
    char attribs[MAXSTRING];
    char attribsExBuf[MAXSTRING];
-   char *attribsEx;
+   char *attribsEx = NULL;
    int attr_stream;
    int comp_len;
    bool stat;
@@ -1360,7 +1360,7 @@ static void close_vss_backup_session(JCR *jcr)
          }
       }
       WCHAR *metadata = g_pVSSClient->GetMetadata();
-      if (metatdata) {
+      if (metadata) {
          FF_PKT *ff_pkt = jcr->ff;
          ff_pkt->fname = "job";
          ff_pkt->type = FT_RESTORE_FIRST;