diff options
-rw-r--r-- | src/cli/report.c | 4 | ||||
-rw-r--r-- | src/gui-gtk/main.c | 2 | ||||
-rw-r--r-- | src/include/abrtlib.h | 2 | ||||
-rw-r--r-- | src/lib/abrt_curl.c | 2 | ||||
-rw-r--r-- | src/lib/hooklib.c | 2 | ||||
-rw-r--r-- | src/lib/hooklib.h | 2 | ||||
-rw-r--r-- | src/lib/read_write.c | 2 | ||||
-rw-r--r-- | src/plugins/abrt-action-mailx.txt | 2 | ||||
-rw-r--r-- | src/plugins/abrt-retrace-client.c | 4 | ||||
-rw-r--r-- | src/plugins/abrt_rh_support.c | 2 | ||||
-rw-r--r-- | src/report-python/reportmodule.c | 2 |
11 files changed, 13 insertions, 13 deletions
diff --git a/src/cli/report.c b/src/cli/report.c index 93d1abd9..7f722480 100644 --- a/src/cli/report.c +++ b/src/cli/report.c @@ -682,7 +682,7 @@ int report(const char *dump_dir_name, int flags) /* Load problem_data from (possibly updated by analyze) dump dir */ struct dump_dir *dd = dd_opendir(dump_dir_name, /*flags:*/ 0); if (!dd) - return -1; + return -1; char *analyze_events_as_lines = list_possible_events(dd, NULL, "analyze"); dd_close(dd); @@ -705,7 +705,7 @@ int report(const char *dump_dir_name, int flags) /* Load problem_data from (possibly updated by analyze) dump dir */ dd = dd_opendir(dump_dir_name, /*flags:*/ 0); if (!dd) - return -1; + return -1; char *report_events_as_lines = list_possible_events(dd, NULL, "report"); problem_data_t *problem_data = create_problem_data_from_dump_dir(dd); diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c index 39d9f7ec..bb57ce7d 100644 --- a/src/gui-gtk/main.c +++ b/src/gui-gtk/main.c @@ -186,7 +186,7 @@ void scan_dirs_and_add_to_dirlist(void) { char **argv = s_dirs; while (*argv) - scan_directory_and_add_to_dirlist(*argv++); + scan_directory_and_add_to_dirlist(*argv++); } int main(int argc, char **argv) diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h index ab12ea03..294afdda 100644 --- a/src/include/abrtlib.h +++ b/src/include/abrtlib.h @@ -118,7 +118,7 @@ char *xmalloc_fgetline(FILE *file); /* On error, copyfd_XX prints error messages and returns -1 */ enum { - COPYFD_SPARSE = 1 << 0, + COPYFD_SPARSE = 1 << 0, }; #define copyfd_eof abrt_copyfd_eof off_t copyfd_eof(int src_fd, int dst_fd, int flags); diff --git a/src/lib/abrt_curl.c b/src/lib/abrt_curl.c index 1cb9391d..c33b2b35 100644 --- a/src/lib/abrt_curl.c +++ b/src/lib/abrt_curl.c @@ -246,7 +246,7 @@ abrt_post(abrt_post_state_t *state, if (basename) basename++; else basename = data; #if 0 - // Simple way, without custom reader function + // Simple way, without custom reader function CURLFORMcode curlform_err = curl_formadd(&post, &last, CURLFORM_PTRNAME, "file", // element name CURLFORM_FILE, data, // filename to read from diff --git a/src/lib/hooklib.c b/src/lib/hooklib.c index 3bde4dfa..804a2394 100644 --- a/src/lib/hooklib.c +++ b/src/lib/hooklib.c @@ -1,5 +1,5 @@ /* - Copyright (C) 2009 RedHat inc. + Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/lib/hooklib.h b/src/lib/hooklib.h index c140f951..1add7d09 100644 --- a/src/lib/hooklib.h +++ b/src/lib/hooklib.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2009 RedHat inc. + Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/src/lib/read_write.c b/src/lib/read_write.c index da067f78..fe85fcfb 100644 --- a/src/lib/read_write.c +++ b/src/lib/read_write.c @@ -88,7 +88,7 @@ ssize_t full_write(int fd, const void *buf, size_t len) /* user can do another write to know the error code */ return total; } - return cc; /* write() returns -1 on failure. */ + return cc; /* write() returns -1 on failure. */ } total += cc; diff --git a/src/plugins/abrt-action-mailx.txt b/src/plugins/abrt-action-mailx.txt index 2fb11bef..a12c2bf1 100644 --- a/src/plugins/abrt-action-mailx.txt +++ b/src/plugins/abrt-action-mailx.txt @@ -53,7 +53,7 @@ problem happens. When this is desired, modify the event configuration file to run the tool on the 'post-create' event: ------------ -EVENT=post-create abrt-action-mailx +EVENT=post-create abrt-action-mailx ------------ OPTIONS diff --git a/src/plugins/abrt-retrace-client.c b/src/plugins/abrt-retrace-client.c index aa232475..524fa186 100644 --- a/src/plugins/abrt-retrace-client.c +++ b/src/plugins/abrt-retrace-client.c @@ -103,7 +103,7 @@ static int create_archive(bool unlink_temp) xmove_fd(tar_xz_pipe[0], STDIN_FILENO); xdup2(tempfd, STDOUT_FILENO); execvp(xz_args[0], (char * const*)xz_args); - perror_msg("Can't execute '%s'", xz_args[0]); + perror_msg("Can't execute '%s'", xz_args[0]); } close(tar_xz_pipe[0]); @@ -130,7 +130,7 @@ static int create_archive(bool unlink_temp) xmove_fd(xopen("/dev/null", O_RDWR), STDIN_FILENO); xmove_fd(tar_xz_pipe[1], STDOUT_FILENO); execvp(tar_args[0], (char * const*)tar_args); - perror_msg("Can't execute '%s'", tar_args[0]); + perror_msg("Can't execute '%s'", tar_args[0]); } close(tar_xz_pipe[1]); diff --git a/src/plugins/abrt_rh_support.c b/src/plugins/abrt_rh_support.c index 9a48485b..b83f041e 100644 --- a/src/plugins/abrt_rh_support.c +++ b/src/plugins/abrt_rh_support.c @@ -421,7 +421,7 @@ send_report_to_new_case(const char* baseURL, atch_state->http_resp_code, errmsg ? ": " : "", errmsg ? errmsg : "" - ); + ); break; case 200: diff --git a/src/report-python/reportmodule.c b/src/report-python/reportmodule.c index c40cfaf6..92f435ce 100644 --- a/src/report-python/reportmodule.c +++ b/src/report-python/reportmodule.c @@ -30,7 +30,7 @@ static PyMethodDef module_methods[] = { { NULL } }; -#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ +#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ #define PyMODINIT_FUNC void #endif PyMODINIT_FUNC |