<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/1b29c470a671b3e06724302ddac50d28c110f971">1b29c470</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2015-12-09T18:57:47Z</i>
</div>
<pre class='commit-message'>Set the source of the message properly in ipc_send_to_username
Using 0 made it look like all the messages were from the user at offset
0 with spy turned on.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/ipc.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/1b29c470a671b3e06724302ddac50d28c110f971#diff-0'>
<strong>
src/ipc.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/ipc.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/ipc.c
</span><span style="color: #aaaaaa">@@ -137,7 +137,7 @@ unsigned int ipc_send_to_username(const char * dest, enum ipc_types msgtype, con
</span> ipc_check();
if(utf8_cleanup(buff)>=0) {
ssize_t dgram_len = strlen(buff);
<span style="color: #000000;background-color: #ffdddd">- ipc_message_t *msg = ipcmsg_create(msgtype, 0);
</span><span style="color: #000000;background-color: #ddffdd">+ ipc_message_t *msg = ipcmsg_create(msgtype, ipc_user->posn);
</span> ipcmsg_destination(msg, uposn);
ipcmsg_append(msg, buff, dgram_len);
ipcmsg_send(msg, ipcsock);
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://projects.sucs.org/arthur/mw/commit/1b29c470a671b3e06724302ddac50d28c110f971">View it on GitLab</a>
<br>
You're receiving this email because of your account on <a href="https://projects.sucs.org/">projects.sucs.org</a>.
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://projects.sucs.org/arthur/mw/commit/1b29c470a671b3e06724302ddac50d28c110f971"}}</script>
</p>
</div>
</body>
</html>