patch-rocrail_impl_snmp_c 473 B

123456789101112131415
  1. $OpenBSD: patch-rocrail_impl_snmp_c,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocrail/impl/snmp.c
  3. --- rocrail/impl/snmp.c.orig
  4. +++ rocrail/impl/snmp.c
  5. @@ -780,7 +780,7 @@ static int __handleGetRequest(iOSNMP snmp, iOSnmpHdr h
  6. TraceOp.trc( name, TRCLEVEL_BYTE, __LINE__, 9999, "next request for %s=%s", oid, val );
  7. }
  8. else {
  9. - val == NULL;
  10. + val = NULL;
  11. break;
  12. }
  13. }