summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/dabOutputRaw.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-09 15:30:15 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-09 15:30:15 +0100
commit44732939bca8ba767d6ce5ea45085cf421d76595 (patch)
treea4fbcaae3c5fa67f906d9ee3c0d883ce86e9ba94 /src/dabOutput/dabOutputRaw.cpp
parentc85c9cc40d05c89b3fa6de997590ab488c13cb2e (diff)
downloaddabmux-44732939bca8ba767d6ce5ea45085cf421d76595.tar.gz
dabmux-44732939bca8ba767d6ce5ea45085cf421d76595.tar.bz2
dabmux-44732939bca8ba767d6ce5ea45085cf421d76595.zip
Fix spelling of writting, remove old dabOutput.cpp
Diffstat (limited to 'src/dabOutput/dabOutputRaw.cpp')
-rw-r--r--src/dabOutput/dabOutputRaw.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dabOutput/dabOutputRaw.cpp b/src/dabOutput/dabOutputRaw.cpp
index d7c191c..edc3cc6 100644
--- a/src/dabOutput/dabOutputRaw.cpp
+++ b/src/dabOutput/dabOutputRaw.cpp
@@ -396,7 +396,7 @@ int DabOutputRaw::Write(void* buffer, int size)
buffer_[i] = revTable[buffer_[i]];
}
- // Writting data
+ // Writing data
#ifdef _WIN32
DWORD result;
if(!DeviceIoControl(socket_, IoctlCodeTxFrame, buffer_.data(), 6144,
@@ -436,13 +436,13 @@ RAW_WRITE_ERROR:
(LPTSTR)&errMsg,
0,
NULL) == 0) {
- fprintf(stderr, "Error while writting to raw socket: %i", err);
+ fprintf(stderr, "Error while writing to raw socket: %i", err);
} else {
- fprintf(stderr, "Error while writting to raw socket: %s", errMsg);
+ fprintf(stderr, "Error while writing to raw socket: %s", errMsg);
LocalFree(errMsg);
}
#else
- perror("Error while writting to raw socket");
+ perror("Error while writing to raw socket");
#endif
return -1;