Просмотр исходного кода

Sun Oct 11 20:21:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>

* mfmt.c (main): When there are an even number of empty lines
between messages, all goes well, but when the number of empty
lines between messages is odd, the program fails.

Sun Oct 11 20:11:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* setup.c: Option ftpfs_use_unix_list_options was saved from
and restored to the wrong variable (ftpfs_use_passive_connections).
Norbert Warmuth 26 лет назад
Родитель
Сommit
7905463836
3 измененных файлов с 15 добавлено и 2 удалено
  1. 11 0
      src/ChangeLog
  2. 3 1
      src/mfmt.c
  3. 1 1
      src/setup.c

+ 11 - 0
src/ChangeLog

@@ -1,3 +1,14 @@
+Sun Oct 11 20:21:20 1998  Peter Kleiweg <kleiweg@let.rug.nl>
+
+	* mfmt.c (main): When there are an even number of empty lines 
+	between messages, all goes well, but when the number of empty 
+	lines between messages is odd, the program fails.
+
+Sun Oct 11 20:11:16 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
+
+	* setup.c: Option ftpfs_use_unix_list_options was saved from
+	and restored to the wrong variable (ftpfs_use_passive_connections).
+
 Mon Oct  5 21:33:14 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>
 
 	* screen.c (parse_display_format): Don't dereference NULL pointer

+ 3 - 1
src/mfmt.c

@@ -70,7 +70,9 @@ main (void)
 	case newline:
 	    if (c == 'F')
 		state = seen_f;
-	    else {
+            else if (c == '\n')
+                putchar ('\n');
+ 	    else {
 		state = plain;
 		putchar (c);
 	    }

+ 1 - 1
src/setup.c

@@ -226,7 +226,7 @@ static struct {
     { "ftpfs_retry_seconds", &ftpfs_retry_seconds },
     { "ftpfs_always_use_proxy", &ftpfs_always_use_proxy },
     { "ftpfs_use_passive_connections", &ftpfs_use_passive_connections },
-    { "ftpfs_use_unix_list_options", &ftpfs_use_passive_connections },
+    { "ftpfs_use_unix_list_options", &ftpfs_use_unix_list_options },
 #endif
 #endif
 #ifdef USE_INTERNAL_EDIT