summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
commitc781b46915c73f8f7b12efddd0357930eb1df8bb (patch)
treec6a23126b702689d9d2842bbd1f3f46428995154 /src/Daemon
parent811e5d7e9917558b9529c42a9cc86a773b31c0c2 (diff)
downloadabrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.gz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.xz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.zip
move all FILENAME_xxx defines to inc/CrashTypes.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/MiddleWare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/MiddleWare.cpp b/src/Daemon/MiddleWare.cpp
index af52b85e..50d0acae 100644
--- a/src/Daemon/MiddleWare.cpp
+++ b/src/Daemon/MiddleWare.cpp
@@ -85,8 +85,8 @@ static char* is_text_file(const char *name, ssize_t *sz)
}
/* Some files in our dump directories are known to always be textual */
- if (strcmp(name, "backtrace") == 0
- || strcmp(name, "cmdline") == 0
+ if (strcmp(name, FILENAME_BACKTRACE) == 0
+ || strcmp(name, FILENAME_CMDLINE) == 0
) {
return buf;
}