From: Kern Sibbald Date: Sat, 24 Apr 2010 02:47:55 +0000 (+0200) Subject: Fix Windows build X-Git-Tag: Release-7.0.0~1880 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e95c4daac1e645113b6a2b63dc0695cc92e1420;p=bacula%2Fbacula Fix Windows build --- diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index 7fd9bf70e3..26ea47809a 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -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;