diff options
author | Nils Ohlmeier [:drno] <drno@ohlmeier.org> | 2016-02-25 21:54:37 -0800 |
---|---|---|
committer | Nils Ohlmeier [:drno] <drno@ohlmeier.org> | 2016-02-25 21:54:37 -0800 |
commit | 4930a6ecb49f793bbd460c0aad0fd614a51ea6f7 (patch) | |
tree | c494381ad6314e113c6007f63ee928d4c88832ad | |
parent | 20dfa3b22214ea90c335a4150c7c38363ba45344 (diff) | |
download | nspr-hg-4930a6ecb49f793bbd460c0aad0fd614a51ea6f7.tar.gz |
Bug 1251520: fixed comments on socket options. r=ted
MozReview-Commit-ID: IOJ5aguzjIq
-rw-r--r-- | pr/include/prio.h | 4 | ||||
-rw-r--r-- | pr/tests/sockopt.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pr/include/prio.h b/pr/include/prio.h index c7e85db4..a9fcf374 100644 --- a/pr/include/prio.h +++ b/pr/include/prio.h @@ -196,8 +196,8 @@ typedef enum PRSockOption PR_SockOpt_Linger, /* linger on close if data present */ PR_SockOpt_Reuseaddr, /* allow local address reuse */ PR_SockOpt_Keepalive, /* keep connections alive */ - PR_SockOpt_RecvBufferSize, /* send buffer size */ - PR_SockOpt_SendBufferSize, /* receive buffer size */ + PR_SockOpt_RecvBufferSize, /* receive buffer size */ + PR_SockOpt_SendBufferSize, /* send buffer size */ PR_SockOpt_IpTimeToLive, /* time to live */ PR_SockOpt_IpTypeOfService, /* type of service and precedence */ diff --git a/pr/tests/sockopt.c b/pr/tests/sockopt.c index 158b8292..b9b2f6dd 100644 --- a/pr/tests/sockopt.c +++ b/pr/tests/sockopt.c @@ -43,8 +43,8 @@ int main(int argc, char **argv) "PR_SockOpt_Linger", /* linger on close if data present */ "PR_SockOpt_Reuseaddr", /* allow local address reuse */ "PR_SockOpt_Keepalive", /* keep connections alive */ - "PR_SockOpt_RecvBufferSize", /* send buffer size */ - "PR_SockOpt_SendBufferSize", /* receive buffer size */ + "PR_SockOpt_RecvBufferSize", /* receive buffer size */ + "PR_SockOpt_SendBufferSize", /* send buffer size */ "PR_SockOpt_IpTimeToLive", /* time to live */ "PR_SockOpt_IpTypeOfService", /* type of service and precedence */ |