summaryrefslogtreecommitdiffstats
path: root/src/daemon/Daemon.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-12-15 18:44:55 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-12-15 18:44:55 +0100
commit6a2b728d7525214402eff838bb37be175ddce6c3 (patch)
tree2a9608f3c9922531a04ced1bbafa6502b10ffe59 /src/daemon/Daemon.cpp
parenta10b0fa6bba8218a82d634100947e084ca8d6a36 (diff)
downloadabrt-6a2b728d7525214402eff838bb37be175ddce6c3.tar.gz
abrt-6a2b728d7525214402eff838bb37be175ddce6c3.tar.xz
abrt-6a2b728d7525214402eff838bb37be175ddce6c3.zip
Rename foo_crash_dump_dir -> foo_dump_dir
To be exact, these three functions are renamed: load_crash_data_from_crash_dump_dir create_crash_dump_dir delete_crash_dump_dir Rationale: data structure is called "struct dump_dir", not "struct crash_dump_dir" Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/Daemon.cpp')
-rw-r--r--src/daemon/Daemon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp
index f98d8741..a181da15 100644
--- a/src/daemon/Daemon.cpp
+++ b/src/daemon/Daemon.cpp
@@ -535,7 +535,7 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin
char *d = concat_path_file(DEBUG_DUMPS_DIR, worst_dir);
free(worst_dir);
worst_dir = NULL;
- delete_crash_dump_dir(d);
+ delete_dump_dir(d);
free(d);
}
}
@@ -558,7 +558,7 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin
log("Deleting crash %s (dup of %s), sending dbus signal",
strrchr(fullname, '/') + 1,
strrchr(first, '/') + 1);
- delete_crash_dump_dir(fullname);
+ delete_dump_dir(fullname);
}
const char *uid_str = get_crash_item_content_or_NULL(crash_data, FILENAME_UID);
@@ -583,7 +583,7 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin
case MW_GPG_ERROR:
default:
log("Corrupted or bad crash %s (res:%d), deleting", fullname, (int)res);
- delete_crash_dump_dir(fullname);
+ delete_dump_dir(fullname);
break;
}
free(fullname);