Bug #59975 [Opn->Csd]: const define OAUTH_AUTH_TYPE_NONE is wrong
| From: | felipe@php.net | Date: | Wed, 12 Oct 2011 01:15:59 +0000 |
| Subject: | Bug #59975 [Opn->Csd]: const define OAUTH_AUTH_TYPE_NONE is wrong | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8703@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=59975&edit=1
ID: 59975
Updated by: felipe@php.net
Reported by: xiezhenye at gmail dot com
Summary: const define OAUTH_AUTH_TYPE_NONE is wrong
-Status: Open
+Status: Closed
Type: Bug
Package: oauth
Operating System: ANY
PHP Version: 5.3.5
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-09-29 05:38:49] xiezhenye at gmail dot com
Description:
------------
const define OAUTH_AUTH_TYPE_NONE is wrong
in oauth.c
3035 REGISTER_LONG_CONSTANT("OAUTH_AUTH_TYPE_FORM", OAUTH_AUTH_TYPE_FORM, CONST_CS |
CONST_PERSISTENT);
3036 REGISTER_LONG_CONSTANT("OAUTH_AUTH_TYPE_NONE", OAUTH_AUTH_TYPE_FORM, CONST_CS |
CONST_PERSISTENT);
Reproduce code:
---------------
echo OAUTH_AUTH_TYPE_NONE;
Expected result:
----------------
4
Actual result:
--------------
2
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=59975&edit=1