gmime r1219 - in trunk: . src
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1219 - in trunk: . src
- Date: Fri, 8 Feb 2008 16:06:37 +0000 (GMT)
Author: fejj
Date: Fri Feb 8 16:06:36 2008
New Revision: 1219
URL: http://svn.gnome.org/viewvc/gmime?rev=1219&view=rev
Log:
2008-02-08 Jeffrey Stedfast <fejj novell com>
* src/uudecode.c (uudecode): Use g_strchomp() on the filename
parsed from the 'begin' line.
Modified:
trunk/ChangeLog
trunk/src/uudecode.c
Modified: trunk/src/uudecode.c
==============================================================================
--- trunk/src/uudecode.c (original)
+++ trunk/src/uudecode.c Fri Feb 8 16:06:36 2008
@@ -188,7 +188,7 @@
}
if (!outfile || outfile != optarg)
- outfile = str->str;
+ outfile = g_strchomp (str->str);
if ((fd = open (outfile, O_CREAT | O_TRUNC | O_WRONLY, mode)) == -1) {
fprintf (stderr, "%s: %s: %s\n", progname,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]