summaryrefslogtreecommitdiff
path: root/examples/snmp_api.h
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2021-05-14 11:32:47 -0400
committerGitHub <noreply@github.com>2021-05-14 10:32:47 -0500
commit5353ccdd7026a7eeaa77029102f8c0043553ebd3 (patch)
treeafabf8efc9e0036e1a6903479cac8d7faaf23724 /examples/snmp_api.h
parentd27fd7627f3ed60b3b7a9e9f5e790d0e49107359 (diff)
downloadpyparsing-git-5353ccdd7026a7eeaa77029102f8c0043553ebd3.tar.gz
Fix misc. documentation typos (#280)
Found via `codespell -q 3 -L ba,fourty,halp,inout,strng`
Diffstat (limited to 'examples/snmp_api.h')
-rw-r--r--examples/snmp_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/snmp_api.h b/examples/snmp_api.h
index fc802d1..ef9ae4b 100644
--- a/examples/snmp_api.h
+++ b/examples/snmp_api.h
@@ -458,7 +458,7 @@ int snmp_close_sessions (void);
* of outstanding requests on this session, then send the pdu.
* Returns the request id of the generated packet if applicable, otherwise 1.
* On any error, 0 is returned.
- * The pdu is freed by snmp_send() unless a failure occured.
+ * The pdu is freed by snmp_send() unless a failure occurred.
*/
int snmp_send (struct snmp_session *, struct snmp_pdu *);
@@ -476,7 +476,7 @@ int snmp_send (struct snmp_session *, struct snmp_pdu *);
* then send the pdu.
* Returns the request id of the generated packet if applicable, otherwise 1.
* On any error, 0 is returned.
- * The pdu is freed by snmp_send() unless a failure occured.
+ * The pdu is freed by snmp_send() unless a failure occurred.
*/
int snmp_async_send (struct snmp_session *, struct snmp_pdu *,
snmp_callback, void *);
@@ -646,7 +646,7 @@ struct snmp_session *snmp_open_ex (struct snmp_session *,
int (*fcheck) (u_char *, size_t)
);
-/* provided for backwards compatability. Don't use these functions.
+/* provided for backwards compatibility. Don't use these functions.
See snmp_debug.h and snmp_debug.c instead.
*/
#if HAVE_STDARG_H