From 44732939bca8ba767d6ce5ea45085cf421d76595 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 9 Mar 2018 15:30:15 +0100 Subject: Fix spelling of writting, remove old dabOutput.cpp --- src/dabOutput/dabOutputFile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dabOutput/dabOutputFile.cpp') diff --git a/src/dabOutput/dabOutputFile.cpp b/src/dabOutput/dabOutputFile.cpp index b8e9e70..d798daa 100644 --- a/src/dabOutput/dabOutputFile.cpp +++ b/src/dabOutput/dabOutputFile.cpp @@ -50,11 +50,11 @@ int DabOutputFile::Write(void* buffer, int size) switch (this->type_) { case ETI_FILE_TYPE_FRAMED: - // Writting nb of frames at beginning of file + // Writing nb of frames at beginning of file if (lseek(this->file_, 0, SEEK_SET) == -1) goto FILE_WRITE_ERROR; if (write(this->file_, &this->nbFrames_, 4) == -1) goto FILE_WRITE_ERROR; - // Writting nb frame length at end of file + // Writing nb frame length at end of file if (lseek(this->file_, 0, SEEK_END) == -1) goto FILE_WRITE_ERROR; if (write(this->file_, &frame_size, 2) == -1) goto FILE_WRITE_ERROR; @@ -62,7 +62,7 @@ int DabOutputFile::Write(void* buffer, int size) if (write(this->file_, buffer, size) == -1) goto FILE_WRITE_ERROR; break; case ETI_FILE_TYPE_STREAMED: - // Writting nb frame length at end of file + // Writing nb frame length at end of file if (write(this->file_, &frame_size, 2) == -1) goto FILE_WRITE_ERROR; // Appending data @@ -85,7 +85,7 @@ int DabOutputFile::Write(void* buffer, int size) return size; FILE_WRITE_ERROR: - perror("Error while writting to file"); + perror("Error while writing to file"); return -1; } -- cgit v1.2.3