42-archive/ftp/srcs/client/cli_pwd.c
2017-11-12 15:02:56 +01:00

21 lines
1,019 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* cli_pwd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/10 12:33:09 by jhalford #+# #+# */
/* Updated: 2017/11/12 14:19:35 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "ftp_client.h"
int cli_pwd(t_ftp *ftp, char **av)
{
(void)av;
FTP_CMD(ftp, "PWD");
ftp_code(ftp);
return (0);
}