cvs: php4 /ext/ftp ftp.c ftp.h
| From: | Wez Furlong | Date: | Sat, 16 Mar 2002 01:20:58 +0000 |
| Subject: | cvs: php4 /ext/ftp ftp.c ftp.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10186@lists.php.net to get a copy of this message | ||
wez Fri Mar 15 20:20:58 2002 EDT
Modified files:
/php4/ext/ftp ftp.c ftp.h
Log:
change * formatting
Index: php4/ext/ftp/ftp.c
diff -u php4/ext/ftp/ftp.c:1.46 php4/ext/ftp/ftp.c:1.47
--- php4/ext/ftp/ftp.c:1.46 Fri Mar 15 16:02:58 2002
+++ php4/ext/ftp/ftp.c Fri Mar 15 20:20:57 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.c,v 1.46 2002/03/15 21:02:58 wez Exp $ */
+/* $Id: ftp.c,v 1.47 2002/03/16 01:20:57 wez Exp $ */
#include "php.h"
@@ -613,7 +613,7 @@
/* {{{ ftp_put
*/
int
-ftp_put(ftpbuf_t *ftp, const char *path, php_stream * instream, ftptype_t type)
+ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type)
{
databuf_t *data = NULL;
int size;
Index: php4/ext/ftp/ftp.h
diff -u php4/ext/ftp/ftp.h:1.22 php4/ext/ftp/ftp.h:1.23
--- php4/ext/ftp/ftp.h:1.22 Fri Mar 15 16:02:58 2002
+++ php4/ext/ftp/ftp.h Fri Mar 15 20:20:57 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.h,v 1.22 2002/03/15 21:02:58 wez Exp $ */
+/* $Id: ftp.h,v 1.23 2002/03/16 01:20:57 wez Exp $ */
#ifndef FTP_H
#define FTP_H
@@ -130,13 +130,13 @@
/* retrieves a file and saves its contents to outfp
* returns true on success, false on error
*/
-int ftp_get(ftpbuf_t *ftp, php_stream * outstream, const char *path,
+int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path,
ftptype_t type);
/* stores the data from a file, socket, or process as a file on the remote server
* returns true on success, false on error
*/
-int ftp_put(ftpbuf_t *ftp, const char *path, php_stream * instream, ftptype_t type);
+int ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type);
/* returns the size of the given file, or -1 on error */
int ftp_size(ftpbuf_t *ftp, const char *path);