<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>Andrew Price pushed to branch master at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/9803a14d340837519dcd51784cad8ee72f54b517">9803a14d</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2015-10-23T17:03:15Z</i>
</div>
<pre class='commit-message'>Increment userposn in the right place in user_find_name</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/user.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/9803a14d340837519dcd51784cad8ee72f54b517#diff-0'>
<strong>
src/user.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/user.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/user.c
</span><span style="color: #aaaaaa">@@ -67,11 +67,11 @@ static int user_find_name(const char *name, struct person *user, int32_t *userpo
</span> close(fd);
return 1;
}
- *userposn += sizeof(*user);
if (!strcasecmp(user->name, name) && !u_del(user->status)) {
*found = 1;
break;
}
<span style="color: #000000;background-color: #ddffdd">+ *userposn += sizeof(*user);
</span> }
close(fd);
return 0;
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://projects.sucs.org/arthur/mw/commit/9803a14d340837519dcd51784cad8ee72f54b517">View it on GitLab</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/9803a14d340837519dcd51784cad8ee72f54b517"}}</script>
</p>
</div>
</body>
</html>