&bogo_stdout, NULL, &error);
if (bogo_forked == FALSE) {
- g_warning("%s\n", error ? error->message:"ERROR???");
+ g_warning("%s", error ? error->message:"ERROR???");
g_error_free(error);
error = NULL;
status = -1;
memset(buf, 0, sizeof(buf));
/* get the result */
if (read(bogo_stdout, buf, sizeof(buf)-1) < 0) {
- g_warning("bogofilter short read\n");
+ g_warning("bogofilter short read");
debug_print("message %d is ham\n", msginfo->msgnum);
data->mail_filtering_data->unfiltered = g_slist_prepend(
data->mail_filtering_data->unfiltered, msginfo);
return;
if (prefs_write_param(param, pfile->fp) < 0) {
- g_warning("Failed to write Bogofilter configuration to file\n");
+ g_warning("Failed to write Bogofilter configuration to file");
prefs_file_close_revert(pfile);
return;
}