From 7d6fed06144e86eb46f184c55e52a68bc68f4907 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 4 Nov 2005 20:00:17 +0000 Subject: [PATCH] Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2544 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/findlib/bfile.c | 16 ++++++++++------ bacula/src/findlib/bfile.h | 17 ++++++----------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/bacula/src/findlib/bfile.c b/bacula/src/findlib/bfile.c index b70196a41a..19ffcc39d6 100644 --- a/bacula/src/findlib/bfile.c +++ b/bacula/src/findlib/bfile.c @@ -96,9 +96,10 @@ const char *stream_to_ascii(int stream) BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize) { /* pByte contains the buffer - dwSize the len to be processed. function assumes to be called in successive - incremental order over the complete BackupRead stream beginning at pos 0 and - ending at the end. */ + dwSize the len to be processed. function assumes to be + called in successive incremental order over the complete + BackupRead stream beginning at pos 0 and ending at the end. + */ PROCESS_WIN32_BACKUPAPIBLOCK_CONTEXT* pContext = &(bfd->win32DecompContext); BOOL bContinue = FALSE; @@ -132,8 +133,9 @@ BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize) DWORD dwOffsetSource; if (pContext->liNextHeader < 0) { - /* start of header was before this block, - so we continue with the part in the current block */ + /* start of header was before this block, so we + * continue with the part in the current block + */ dwOffsetTarget = abs (pContext->liNextHeader); dwOffsetSource = 0; } @@ -147,7 +149,9 @@ BOOL processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, size_t dwSize) BOOL bHeaderIsComplete; if (dwHeaderPartLen <= dwSize-dwOffsetSource) - /* header (or rest of header) is completely available in current block */ + /* header (or rest of header) is completely available + in current block + */ bHeaderIsComplete = TRUE; else { /* header will continue in next block */ diff --git a/bacula/src/findlib/bfile.h b/bacula/src/findlib/bfile.h index de60b4f23f..a3ac4e733b 100644 --- a/bacula/src/findlib/bfile.h +++ b/bacula/src/findlib/bfile.h @@ -6,22 +6,17 @@ * Kern Sibbald May MMIII */ /* - Copyright (C) 2000-2005 Kern Sibbald + Copyright (C) 2003-2005 Kern Sibbald This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + modify it under the terms of the GNU General Public License + version 2 as amended with additional clauses defined in the + file LICENSE in the main source directory. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + the file LICENSE for additional details. */ -- 2.39.2