summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-28 23:44:15 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-28 23:44:15 +0200
commit32bdfb274ec20318dd7d45fb62cd6e51323453f7 (patch)
tree1142386bf9fb2f90738876cc3e572c0be353c868 /src/DabMux.cpp
parentf0b272d734469552b9747ec3e00a5a3a22811749 (diff)
downloaddabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.tar.gz
dabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.tar.bz2
dabmux-32bdfb274ec20318dd7d45fb62cd6e51323453f7.zip
Replace NULL by nullptr
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index aefa701..c962818 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -189,7 +189,7 @@ int main(int argc, char *argv[])
const int sigs[] = {SIGHUP, SIGQUIT, SIGINT, SIGTERM};
for (int i = 0; i < 4; i++) {
- if (sigaction(sigs[i], &sa, NULL) == -1) {
+ if (sigaction(sigs[i], &sa, nullptr) == -1) {
perror("sigaction");
return EXIT_FAILURE;
}
@@ -399,7 +399,7 @@ int main(int argc, char *argv[])
throw MuxInitException();
}
- if (output == NULL) {
+ if (output == nullptr) {
etiLog.level(error) <<
"Unable to init output " <<
uri;