diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-02-28 23:00:58 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-02-28 23:00:58 +0000 |
commit | 568fa3faf16f8694653600d87955473941cc03c1 (patch) | |
tree | 7cb02898e83751848e3fa61a7821bb651ec361ae /cups/testsnmp.c | |
parent | d6943d1d3132205deeb6f9ad49ca54091ab3dfe5 (diff) | |
download | cups-568fa3faf16f8694653600d87955473941cc03c1.tar.gz |
Import CUPS 1.4svn-r7356.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@647 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/testsnmp.c')
-rw-r--r-- | cups/testsnmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cups/testsnmp.c b/cups/testsnmp.c index e13b23847..eb47254a1 100644 --- a/cups/testsnmp.c +++ b/cups/testsnmp.c @@ -268,7 +268,7 @@ show_oid(int fd, /* I - SNMP socket */ printf(".%d", oid[i]); puts("):"); - if (cupsSNMPWalk(fd, addr, CUPS_SNMP_VERSION_1, community, oid, 5000, + if (cupsSNMPWalk(fd, addr, CUPS_SNMP_VERSION_1, community, oid, 5.0, print_packet, NULL) < 0) { printf("FAIL (%s)\n", strerror(errno)); @@ -291,9 +291,9 @@ show_oid(int fd, /* I - SNMP socket */ puts("PASS"); - fputs("cupsSNMPRead(5000): ", stdout); + fputs("cupsSNMPRead(5.0): ", stdout); - if (!cupsSNMPRead(fd, &packet, 5000)) + if (!cupsSNMPRead(fd, &packet, 5.0)) { puts("FAIL (timeout)"); return (0); |