gmime r1219 - in trunk: . src



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]