diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-09 12:57:59 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-09 12:57:59 +0200 |
| commit | b0d2f3c7f257be07bbf8af8e963335127ef43d65 (patch) | |
| tree | ae488263112c9a81cda06066a447c7bf03180dc1 /src/Daemon/Daemon.cpp | |
| parent | 6cc5b01813ba87e4a68ed848f91a6a3d573af0f6 (diff) | |
| download | abrt-b0d2f3c7f257be07bbf8af8e963335127ef43d65.tar.gz abrt-b0d2f3c7f257be07bbf8af8e963335127ef43d65.tar.xz abrt-b0d2f3c7f257be07bbf8af8e963335127ef43d65.zip | |
*: add "force" param to CreateReport dbus call. If !0, regenerates backtrace
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
| -rw-r--r-- | src/Daemon/Daemon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 3b66bdb9..05c5f0b0 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -50,7 +50,7 @@ * - GetCrashInfos(): returns a vector_crash_infos_t (vector_map_vector_string_t) * of crashes for given uid * v[N]["executable"/"uid"/"kernel"/"backtrace"][N] = "contents" - * - CreateReport(UUID): starts creating a report for /var/cache/abrt/DIR with this UUID. + * - CreateReport(UUID,force): starts creating a report for /var/cache/abrt/DIR with this UUID. * Returns job id (uint64). * Emits JobStarted(client_dbus_ID,job_id) dbus signal. * After it returns, when report creation thread has finished, @@ -82,7 +82,7 @@ * * TODO: * - API does not really need JobStarted dbus signal at all, and JobDone signal - * does not need to pass any parameters - out clients never sent multiple + * does not need to pass any parameters - out clients never send multiple * CreateReport's. */ @@ -153,7 +153,7 @@ static double GetDirSize(const std::string &pPath, std::string *worst_dir = NULL if (worst_dir && strcmp(excluded, ep->d_name) != 0) { /* Calculate "weighted" size and age - /* w = sz_kbytes * age_mins */ + * w = sz_kbytes * age_mins */ sz /= 1024; long age = (time(NULL) - stats.st_mtime) / 60; if (age > 0) |
