From 2e95c4daac1e645113b6a2b63dc0695cc92e1420 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 24 Apr 2010 04:47:55 +0200 Subject: [PATCH] Fix Windows build --- bacula/src/filed/backup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5