cvs: php-src(PHP_5_2) /ext/ftp ftp.c

From: Date: Sat, 24 Feb 2007 02:45:25 +0000
Subject: cvs: php-src(PHP_5_2) /ext/ftp ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43242@lists.php.net to get a copy of this message
stas Sat Feb 24 02:45:25 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/ftp ftp.c Log: fix typo http://cvs.php.net/viewvc.cgi/php-src/ext/ftp/ftp.c?r1=1.112.2.4.2.5&r2=1.112.2.4.2.6&diff_format=u Index: php-src/ext/ftp/ftp.c diff -u php-src/ext/ftp/ftp.c:1.112.2.4.2.5 php-src/ext/ftp/ftp.c:1.112.2.4.2.6 --- php-src/ext/ftp/ftp.c:1.112.2.4.2.5 Sat Feb 24 02:17:24 2007 +++ php-src/ext/ftp/ftp.c Sat Feb 24 02:45:24 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.112.2.4.2.5 2007/02/24 02:17:24 helly Exp $ */ +/* $Id: ftp.c,v 1.112.2.4.2.6 2007/02/24 02:45:24 stas Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1434,7 +1434,7 @@ char eprtarg[INET6_ADDRSTRLEN + sizeof("|x||xxxxx|")]; char out[INET6_ADDRSTRLEN]; inet_ntop(AF_INET6, &((struct sockaddr_in6*) sa)->sin6_addr, out, sizeof(out)); - snprintf(eprtarg, sizeof(eprtag), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port)); + snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port)); if (!ftp_putcmd(ftp, "EPRT", eprtarg)) { goto bail;

« previous php.cvs (#43242) next »