X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Ftextview.c;h=e65b1d7403d222b0c7a87e6b509dc0c0d91b7681;hp=6f0027aa8272ca5adbd900e2cf1dd9709d345367;hb=6fc7c18a8105bfb51879ada01e0f49c1bd72ff83;hpb=64e5421bb2a0dbad5d23a6c292d84a96cb3050e2 diff --git a/src/textview.c b/src/textview.c index 6f0027aa8..e65b1d740 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1,6 +1,6 @@ /* - * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team + * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client + * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail team * * 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 @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * + * */ #ifdef HAVE_CONFIG_H @@ -746,7 +746,7 @@ static void textview_add_part(TextView *textview, MimeInfo *mimeinfo) filename = procmime_get_tmp_file_name(mimeinfo); if ((err = procmime_get_part(filename, mimeinfo)) < 0) { - g_warning("Can't get the image file.(%s)", strerror(-err)); + g_warning("Can't get the image file.(%s)", g_strerror(-err)); g_free(filename); END_TIMING(); return; @@ -1102,14 +1102,14 @@ static void textview_write_body(TextView *textview, MimeInfo *mimeinfo) if (pipe(pfd) < 0) { g_snprintf(buf, sizeof(buf), - "pipe failed for textview\n\n%s\n", strerror(errno)); + "pipe failed for textview\n\n%s\n", g_strerror(errno)); textview_write_line(textview, buf, conv, TRUE); goto textview_default; } pid = fork(); if (pid < 0) { g_snprintf(buf, sizeof(buf), - "fork failed for textview\n\n%s\n", strerror(errno)); + "fork failed for textview\n\n%s\n", g_strerror(errno)); textview_write_line(textview, buf, conv, TRUE); close(pfd[0]); close(pfd[1]);