Merge branch '2634_spftp_servers'

* 2634_spftp_servers:
  Ticket #2634: mc cannot navigate over spftp servers
This commit is contained in:
Slava Zanko 2011-10-24 20:54:53 +03:00
commit 83002445e3

View File

@ -627,6 +627,8 @@ ftpfs_login_server (struct vfs_class *me, struct vfs_s_super *super, const char
reply_up = g_ascii_strup (reply_string, -1);
SUP->remote_is_amiga = strstr (reply_up, "AMIGA") != 0;
if (strstr (reply_up, " SPFTP/1.0.0000 SERVER ")) /* handles `LIST -la` in a weird way */
SUP.strict = RFC_STRICT;
g_free (reply_up);
if (MEDATA->logfile)