<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Eric S. Raymond pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/94a36b6f89d663d4a0893f0c71b7896af26e8280">94a36b6f</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2019-02-21T04:21:53Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix a brown-paper-bag bug.
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#403246f0aef784495bc035a970fa42eae64e2b4a">
ntpd/ntp_control.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="403246f0aef784495bc035a970fa42eae64e2b4a">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/94a36b6f89d663d4a0893f0c71b7896af26e8280#403246f0aef784495bc035a970fa42eae64e2b4a"><strong>ntpd/ntp_control.c</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="2697" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="2697" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -2697,7 +2697,7 @@ read_peervars(void)</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2697" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2697
</td>
<td class="diff-line-num new_line" data-linenumber="2697" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2697
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2697" class="line" lang="c">                   <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="n" style="color: #333;">wants</span><span class="p">[</span><span class="n" style="color: #333;">i</span><span class="p">])</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2698" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2698
</td>
<td class="diff-line-num new_line" data-linenumber="2698" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2698
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2698" class="line" lang="c">                           <span class="n" style="color: #333;">ctl_putpeer</span><span class="p">((</span><span class="kt" style="color: #458; font-weight: 600;">int</span><span class="p">)</span><span class="n" style="color: #333;">i</span><span class="p">,</span> <span class="n" style="color: #333;">peer</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2699" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2699
</td>
<td class="diff-line-num new_line" data-linenumber="2699" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2699
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2699" class="line" lang="c">   <span class="p">}</span> <span class="k" style="font-weight: 600;">else</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="2700" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
2700
</td>
<td class="diff-line-num new_line old" data-linenumber="2700" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC2700" class="line" lang="c">           <span class="k" style="font-weight: 600;">for</span> <span class="p">(</span><span class="k" style="font-weight: 600;">const</span> <span class="k" style="font-weight: 600;">struct</span> <span class="n" style="color: #333;">ctl_var</span> <span class="o" style="font-weight: 600;">*</span><span class="n" style="color: #333;">kv</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;"><span class="idiff left right">sys</span>_var</span><span class="p">;</span> <span class="n" style="color: #333;">kv</span> <span class="o" style="font-weight: 600;">&&</span> <span class="o" style="font-weight: 600;">!</span><span class="p">(</span><span class="n" style="color: #333;">EOV</span> <span class="o" style="font-weight: 600;">&</span> <span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">flags</span><span class="p">);</span> <span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="2701" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="2700" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
2700
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC2700" class="line" lang="c">           <span class="k" style="font-weight: 600;">for</span> <span class="p">(</span><span class="k" style="font-weight: 600;">const</span> <span class="k" style="font-weight: 600;">struct</span> <span class="n" style="color: #333;">ctl_var</span> <span class="o" style="font-weight: 600;">*</span><span class="n" style="color: #333;">kv</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;"><span class="idiff left right">peer</span>_var</span><span class="p">;</span> <span class="n" style="color: #333;">kv</span> <span class="o" style="font-weight: 600;">&&</span> <span class="o" style="font-weight: 600;">!</span><span class="p">(</span><span class="n" style="color: #333;">EOV</span> <span class="o" style="font-weight: 600;">&</span> <span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">flags</span><span class="p">);</span> <span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">++</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2701" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2701
</td>
<td class="diff-line-num new_line" data-linenumber="2701" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2701
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2701" class="line" lang="c">                   <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">flags</span> <span class="o" style="font-weight: 600;">&</span> <span class="n" style="color: #333;">DEF</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2702" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2702
</td>
<td class="diff-line-num new_line" data-linenumber="2702" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2702
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2702" class="line" lang="c">                           <span class="n" style="color: #333;">ctl_putpeer</span><span class="p">(</span><span class="n" style="color: #333;">kv</span><span class="o" style="font-weight: 600;">-></span><span class="n" style="color: #333;">code</span><span class="p">,</span> <span class="n" style="color: #333;">peer</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="2703" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2703
</td>
<td class="diff-line-num new_line" data-linenumber="2703" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
2703
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC2703" class="line" lang="c">   <span class="n" style="color: #333;">ctl_flushpkt</span><span class="p">(</span><span class="mi" style="color: #099;">0</span><span class="p">);</span></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/94a36b6f89d663d4a0893f0c71b7896af26e8280">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/94a36b6f89d663d4a0893f0c71b7896af26e8280"}}</script>
</p>
</div>
</body>
</html>