summaryrefslogtreecommitdiffstats
path: root/split.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:50:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 11:50:27 +0000
commit16e805860b4a789ee2a239aaf1011188e0ba4a79 (patch)
treef2898eef69d3e6dfca0278db399460eaed095eb4 /split.cc
parentAdding upstream version 1.17~pre1. (diff)
downloadlziprecover-16e805860b4a789ee2a239aaf1011188e0ba4a79.tar.xz
lziprecover-16e805860b4a789ee2a239aaf1011188e0ba4a79.zip
Adding upstream version 1.17~rc1.upstream/1.17_rc1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'split.cc')
-rw-r--r--split.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/split.cc b/split.cc
index 7b3f9fd..2ffb359 100644
--- a/split.cc
+++ b/split.cc
@@ -1,5 +1,5 @@
/* Lziprecover - Data recovery tool for the lzip format
- Copyright (C) 2009-2014 Antonio Diaz Diaz.
+ Copyright (C) 2009-2015 Antonio Diaz Diaz.
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
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#include "lzip.h"
+#include "block.h"
#include "file_index.h"
@@ -81,7 +82,7 @@ bool verify_header( const File_header & header, const Pretty_print & pp )
// Search forward from 'pos' for "LZIP" (Boyer-Moore algorithm)
-// Return pos of found string or 'pos+size' if not found.
+// Returns pos of found string or 'pos+size' if not found.
//
int find_magic( const uint8_t * const buffer, const int pos, const int size )
{