summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2023-07-31 17:36:26 +0200
committerMichael Tuexen <tuexen@fh-muenster.de>2023-07-31 17:36:26 +0200
commit8ea35f0bb61292e108aac4816b49b6afc3538cd2 (patch)
tree3f16996ac1e82bc5c01f7c7e428c93d7b1e6c73f
parent8fef5020752fa2f1d1b4760dd95246fc6c80031f (diff)
Fix typo.
-rwxr-xr-xusrsctplib/netinet/sctp_os_userspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrsctplib/netinet/sctp_os_userspace.h b/usrsctplib/netinet/sctp_os_userspace.h
index c1889fd..0434cf0 100755
--- a/usrsctplib/netinet/sctp_os_userspace.h
+++ b/usrsctplib/netinet/sctp_os_userspace.h
@@ -966,7 +966,7 @@ int sctp_userspace_get_mtu_from_ifn(uint32_t if_index);
}
#define SCTP_SB_DECR(sb, decr) \
{ \
- SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_cc, incr); \
+ SCTP_SAVE_ATOMIC_DECREMENT(&(sb)->sb_cc, decr); \
}
/* clear the socket buffer state */
#define SCTP_SB_CLEAR(sb) \