@@ -122,13 +122,13 @@ void _php_curl_multi_cleanup_list(void *data) /* {{{ */
122
122
/* }}} */
123
123
124
124
/* Used internally as comparison routine passed to zend_list_del_element */
125
- static int curl_compare_resources ( zval * z1 , zval * * z2 )
125
+ static int curl_compare_resources ( zval * z1 , zval * * z2 ) /* {{{ */
126
126
{
127
127
return (Z_TYPE_P ( z1 ) == Z_TYPE_PP ( z2 ) &&
128
128
Z_TYPE_P ( z1 ) == IS_RESOURCE &&
129
129
Z_LVAL_P ( z1 ) == Z_LVAL_PP ( z2 ) );
130
130
}
131
-
131
+ /* }}} */
132
132
133
133
/* {{{ proto int curl_multi_remove_handle(resource mh, resource ch) U
134
134
Remove a multi handle from a set of cURL handles */
@@ -155,14 +155,15 @@ PHP_FUNCTION(curl_multi_remove_handle)
155
155
}
156
156
/* }}} */
157
157
158
- static void _make_timeval_struct (struct timeval * to , double timeout )
158
+ static void _make_timeval_struct (struct timeval * to , double timeout ) /* {{{ */
159
159
{
160
160
unsigned long conv ;
161
161
162
162
conv = (unsigned long ) (timeout * 1000000.0 );
163
163
to -> tv_sec = conv / 1000000 ;
164
164
to -> tv_usec = conv % 1000000 ;
165
165
}
166
+ /* }}} */
166
167
167
168
/* {{{ proto int curl_multi_select(resource mh[, double timeout]) U
168
169
Get all the sockets associated with the cURL extension, which can then be "selected" */
@@ -319,7 +320,7 @@ PHP_FUNCTION(curl_multi_close)
319
320
}
320
321
/* }}} */
321
322
322
- void _php_curl_multi_close (zend_rsrc_list_entry * rsrc TSRMLS_DC )
323
+ void _php_curl_multi_close (zend_rsrc_list_entry * rsrc TSRMLS_DC ) /* {{{ */
323
324
{
324
325
php_curlm * mh = (php_curlm * ) rsrc -> ptr ;
325
326
if (mh ) {
@@ -329,6 +330,7 @@ void _php_curl_multi_close(zend_rsrc_list_entry *rsrc TSRMLS_DC)
329
330
rsrc -> ptr = NULL ;
330
331
}
331
332
}
333
+ /* }}} */
332
334
333
335
#endif
334
336
0 commit comments