[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] cvs: pecl /oauth oauth.c
From:       "Felipe Pena" <felipe () php ! net>
Date:       2008-11-28 1:49:32
Message-ID: cvsfelipe1227836972 () cvsserver
[Download RAW message or body]

felipe		Fri Nov 28 01:49:32 2008 UTC

  Modified files:              
    /pecl/oauth	oauth.c 
  Log:
  - Removed zend_parse_parameters_none() (errr, it's 5.3+)
  
http://cvs.php.net/viewvc.cgi/pecl/oauth/oauth.c?r1=1.8&r2=1.9&diff_format=u
Index: pecl/oauth/oauth.c
diff -u pecl/oauth/oauth.c:1.8 pecl/oauth/oauth.c:1.9
--- pecl/oauth/oauth.c:1.8	Fri Nov 28 01:43:13 2008
+++ pecl/oauth/oauth.c	Fri Nov 28 01:49:32 2008
@@ -6,7 +6,7 @@
 +----------------------------------------------------------------------+
 */
 
-/* $Id: oauth.c,v 1.8 2008/11/28 01:43:13 felipe Exp $ */
+/* $Id: oauth.c,v 1.9 2008/11/28 01:49:32 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -501,7 +501,6 @@
 
 /* {{{ proto void OAuth::__construct(string consumer_key, string consumer_secret [, \
string signature_method, [, string auth_type ]])  Instantiate a new OAuth object */
-
 SO_METHOD(__construct) {
     HashTable *hasht;
     char *ck,*cs,*sig_method = NULL,*auth_method = NULL;
@@ -1175,7 +1174,7 @@
     ulong hlen = 0;
     char *hkey = OAUTH_ATTR_LAST_RES_INFO;
     
-	if (zend_parse_parameters_none() == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) {
 		return;
 	}
 	
@@ -1200,7 +1199,7 @@
 SO_METHOD(getLastResponse) {
     php_so_object *soo;
     
-	if (zend_parse_parameters_none() == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) {
 		return;
 	}
 	
@@ -1325,7 +1324,7 @@
     php_info_print_table_row(2, "PLAINTEXT support", "not supported");
     php_info_print_table_row(2, "RSA-SHA1 support", "not supported");
     php_info_print_table_row(2, "HMAC-SHA1 support", "enabled");
-    php_info_print_table_row(2, "source version", "$Id: oauth.c,v 1.8 2008/11/28 \
01:43:13 felipe Exp $"); +    php_info_print_table_row(2, "source version", "$Id: \
oauth.c,v 1.9 2008/11/28 01:49:32 felipe Exp $");  php_info_print_table_row(2, \
"version", OAUTH_EXT_VER);  php_info_print_table_end();
 }



-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic