cvs commit: patches/yafc yafc-1.0-sshport-1.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Sep 1 22:39:21 PDT 2003


tushar      03/09/01 23:39:21

  Added:       yafc     yafc-1.0-sshport-1.patch
  Log:
  added yafc-1.0-sshport-1.patch
  
  Revision  Changes    Path
  1.1                  patches/yafc/yafc-1.0-sshport-1.patch
  
  Index: yafc-1.0-sshport-1.patch
  ===================================================================
  Submitted by: Csaba Henk (ekho at renyi.hu)
  Date: 2003-08-25
  Initial Package Version: 1.0
  Origin: Csaba Henk
  Description: If you save a bookmark of an sftp session which uses a
  non-standard port (ie., other than 22), the bookmark won't work because yafc
  tries to open the bookmarked connection at port 22. This is cured by the
  patch.
  
  --- yafc-1.0/src/login.c	2002-02-23 14:16:30.000000000 +0100
  +++ 1.0/yafc-1.0/src/login.c	2003-06-22 20:43:11.000000000 +0200
  @@ -161,7 +161,7 @@
   		if(!url->protocol) {
   			url_setprotocol(url, xurl->protocol);
   			if(xurl->protocol && strcmp(xurl->protocol, "ssh") == 0)
  -				url_setport(url, 22);
  +				url_setport(url, xurl->port);
   		}
   
   		if(!test(opt, OP_NOAUTO)) {
  
  
  



More information about the patches mailing list