svn commit: r328661 - stable/11/cddl/lib/libdtrace
Mark Johnston
markj at FreeBSD.org
Thu Feb 1 14:37:00 UTC 2018
Author: markj
Date: Thu Feb 1 14:36:59 2018
New Revision: 328661
URL: https://svnweb.freebsd.org/changeset/base/328661
Log:
MFC r328398:
Remove uneeded parentheses.
Modified:
stable/11/cddl/lib/libdtrace/tcp.d
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/cddl/lib/libdtrace/tcp.d
==============================================================================
--- stable/11/cddl/lib/libdtrace/tcp.d Thu Feb 1 14:36:24 2018 (r328660)
+++ stable/11/cddl/lib/libdtrace/tcp.d Thu Feb 1 14:36:59 2018 (r328661)
@@ -260,7 +260,7 @@ translator tcpinfoh_t < struct tcphdr *p > {
tcp_ack = p == NULL ? -1 : p->th_ack;
tcp_offset = p == NULL ? -1 : (p->th_off >> 2);
tcp_flags = p == NULL ? 0 : p->th_flags;
- tcp_window = p == NULL ? 0 : (p->th_win);
+ tcp_window = p == NULL ? 0 : p->th_win;
tcp_checksum = p == NULL ? 0 : ntohs(p->th_sum);
tcp_urgent = p == NULL ? 0 : p->th_urp;
tcp_hdr = (struct tcphdr *)p;
More information about the svn-src-all
mailing list