sftp-client.c warning clean up.

Damien Miller djm at mindrot.org
Sat Feb 10 11:32:17 EST 2001


On Fri, 9 Feb 2001 mouring at etoh.eviladmin.org wrote:

It is in the queue for OpenBSD already. :)

Go for it in the meantime.

> 
> 
> --- ../openssh/sftp-client.c	Fri Feb  9 08:44:24 2001
> +++ sftp-client.c	Fri Feb  9 19:14:01 2001
> @@ -331,7 +331,7 @@
>  				error("Couldn't read directory: %s",
>  				    fx2txt(status));
>  				do_close(fd_in, fd_out, handle, handle_len);
> -				return(NULL);
> +				return(0);
>  			}
>  		} else if (type != SSH2_FXP_NAME)
>  			fatal("Expected SSH2_FXP_NAME(%d) packet, got %d",
> 
> 

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list