Hello,

On Mon, Sep 20, 2010 at 2:17 PM, Michael Maclean <m...@php.net> wrote:
> On 20/09/10 20:46, Jorrit Kronjee wrote:
>>
>>  Dear list,
>>
>> To better reflect the behavior of the snmpget command that comes with
>> the Net-SNMP package the patch attached makes an array of OIDs as a
>> parameter for the snmpget()/snmpgetnext() function possible.
>
> <snip>
>
> Looks good to me, for what it's worth. Anyone got objections?
>

I think the patch at a first glance looks good, although it is a minor
cosmetic nitpick, I did catch a line with a couple of extra
semi-colons.

 static void php_snmpv3(INTERNAL_FUNCTION_PARAMETERS, int st)
 {
-       char *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8;
-       int a1_len, a2_len, a3_len, a4_len, a5_len, a6_len, a7_len, a8_len;
+       char *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8;;
+       int a1_len, a2_len, a3_len, a4_len, a5_len, a6_len, a7_len, a8_len;;

This patch does move around a bit of code, are there some tests to go
along with this patch?

-Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to