~squid/squid/trunk

« back to all changes in this revision

Viewing changes to src/snmp_core.cc

  • Committer: Amos Jeffries
  • Date: 2014-09-14 03:51:50 UTC
  • Revision ID: squid3@treenet.co.nz-20140914035150-2q3tcjsz6hklpjul
Fix typo in rev.13574

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
 
353
353
    memset(buf, '\0', sizeof(buf));
354
354
 
355
 
    len = comm_udp_recvfrom(sock, sizeof(buf)-1, 0, from);
 
355
    len = comm_udp_recvfrom(sock, buf, sizeof(buf)-1, 0, from);
356
356
 
357
357
    if (len > 0) {
358
358
        debugs(49, 3, "snmpHandleUdp: FD " << sock << ": received " << len << " bytes from " << from << ".");