Commits

Ruslan Osmanov committed 8be3465

del redundant arg in EventBuffer:readline

Comments (0)

Files changed (3)

 }
 /* }}} */
 
-/* {{{ proto mixed EventBuffer::readLine(int len, int eol_style);
+/* {{{ proto mixed EventBuffer::readLine(int eol_style);
  *
  * Extracts a line from the front of the buffer and returns it in a newly
  * allocated NUL-terminated string. If there is not a whole
 	long                eol_style;
 	char               *res;
 
-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll",
-				&len, &eol_style) == FAILURE) {
+	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l",
+				&eol_style) == FAILURE) {
 		return;
 	}
 
     <email>osmanov@php.net</email>
     <active>yes</active>
   </lead>
-  <date>2013-02-18</date>
+  <date>2013-02-22</date>
   <!--{{{ Current version -->
   <version>
-    <release>1.2.3</release>
-    <api>1.2.0</api>
+    <release>1.2.4</release>
+    <api>1.2.1</api>
   </version>
   <stability>
     <release>alpha</release>
   </stability>
   <license uri="http://www.php.net/license">PHP</license>
   <notes><![CDATA[
-  Fix: build errors
-  Fix: undefined symbol SSLv2_*_method when SL_OP_NO_SSLv2 defined
+  Fix: deleted redundant len argument of EventBuffer::readLine
   ]]></notes>
   <!--}}}-->
   <!--{{{ Contents -->
   </extsrcrelease>
   <!--{{{ changelog-->
   <changelog>
+  <!--{{{ 1.2.4-alpha -->
+  <version>
+    <release>1.2.4</release>
+    <api>1.2.1</api>
+  </version>
+  <stability>
+    <release>alpha</release>
+    <api>alpha</api>
+  </stability>
+  <license uri="http://www.php.net/license">PHP</license>
+  <notes><![CDATA[
+  Fix: deleted redundant len argument of EventBuffer::readLine
+  ]]></notes>
+  <!--}}}-->
     <!--{{{ 1.2.3-alpha -->
     <release>
       <version>
 	ZEND_ARG_INFO(0, max_bytes)
 ZEND_END_ARG_INFO();
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_evbuffer_read_line, 0, 0, 2)
-	ZEND_ARG_INFO(0, len)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_evbuffer_read_line, 0, 0, 1)
 	ZEND_ARG_INFO(0, eol_style)
 ZEND_END_ARG_INFO();