<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/bdef23929eae50ad43ab9e15de803143aca26e21">bdef2392</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2016-01-14T18:08:39Z</i>
</div>
<pre class='commit-message'>Remove obsolete client/bork.h</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/9a15f3f128f84ddbc0a20bacbf16a71cb36d061c">9a15f3f1</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2016-01-14T18:09:02Z</i>
</div>
<pre class='commit-message'>Fix a couple of unnecessary capitals</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/cc3727d6eef5ef2781ef85a9a762a48935c04acc">cc3727d6</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2016-01-14T18:18:45Z</i>
</div>
<pre class='commit-message'>Remove send_mesg()

Now that !tell is gone it's not needed.</pre>
</li>
</ul>
<h4>5 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
<span class='deleted-file'>

src/client/bork.h
</span>
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/client/mesg.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
src/client/mesg.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
src/client/user.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
src/gags.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc#diff-0'>
<strong>
src/client/bork.h
</strong>
deleted
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/bork.h
</span><span style="color: #000000;background-color: #ddffdd">+++ /dev/null
</span><span style="color: #aaaaaa">@@ -1,8 +0,0 @@
</span><span style="color: #000000;background-color: #ffdddd">-#ifndef BORK_H
-#define BORK_H
-
-#include "gagtable.h"
-
-char *apply_bork(char *text, const struct pattern *list, int caps);
-
-#endif /* BORK_H */
</span></code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc#diff-1'>
<strong>
src/client/mesg.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/mesg.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/mesg.c
</span><span style="color: #aaaaaa">@@ -18,39 +18,6 @@
</span> 
 extern struct user * const user;
 
<span style="color: #000000;background-color: #ffdddd">-void send_mesg(char *from, const char *to, char *text, int wiz)
-{
-       char buff[MAXTEXTLENGTH];
-       _autofree struct user *usr = calloc(1, sizeof(*usr));
-
-       if (usr == NULL) {
-               perror("calloc");
-               return;
-       }
-       if (!user_exists(to, usr)) {
-               printf(_("User does not exist.\n"));
-               return;
-       }
-       if (! u_reg(usr)) {
-               printf(_("%s is not registered.\n"),to);
-               return;
-       }
-       if (u_mesg(usr)) {
-               if (wiz) {
-                       printf(_("%s has msg off, writing anyway.\n"),to);
-               } else {
-                       printf(_("%s has turned messages off.\n"),to);
-                       return;
-               }
-       }
-       snprintf(buff, MAXTEXTLENGTH, "*** %s: %s", from, text);
-       if (ipc_send_to_username(to, IPC_WIZ, buff) <= 0) {
-               printf(_("User not logged on.\n"));
-               return;
-       }
-       mwlog("TELL %s %s", to, text);
-}
-
</span> void inform_of_mail(char *to)
 {
        if (ipc_send_to_username(to, IPC_NEWMAIL, NULL) < 0)
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc#diff-2'>
<strong>
src/client/mesg.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/mesg.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/mesg.h
</span><span style="color: #aaaaaa">@@ -6,7 +6,6 @@
</span> void broadcast(int state, const char *fmt, ...) __attribute__((format(printf,2,3)));
 void inform_of_mail(char *to);
 void postinfo(struct user *who, struct folder *fol, struct Header *mesg);
<span style="color: #000000;background-color: #ffdddd">-void send_mesg(char *from, const char *to, char *text, int wiz);
</span> void mwlog(const char *fmt, ...) __attribute__((format(printf,1,2)));
 
 #endif /* MESG_H */
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc#diff-3'>
<strong>
src/client/user.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/user.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/user.c
</span><span style="color: #aaaaaa">@@ -56,10 +56,10 @@ static int old_usr(struct user *usr)
</span>   {
                strncpy(salt, usr->record.passwd, 2);
                fflush(stdin);
<span style="color: #000000;background-color: #ffdddd">-                strcpy(passwd,crypt(get_pass(_("Enter Password: ")),salt));
</span><span style="color: #000000;background-color: #ddffdd">+           strcpy(passwd,crypt(get_pass(_("Enter password: ")),salt));
</span>           if (strcmp(passwd, usr->record.passwd))
                {
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Login Incorrect.\n\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Login incorrect.\n\n"));
</span>                   exit(0);
                }
        }
<span style="color: #aaaaaa">@@ -270,7 +270,7 @@ static int new_usr(char *name, struct user *u)
</span>           printf(_("\nIf you do not wish to register, do not enter a name.\n\n"));
 
 
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Real Name: "));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Real name: "));
</span>           usr->realname[0]=0;
                get_str(usr->realname,REALNAMESIZE);
                if (!usr->realname[0])
</code></pre>

<br>
</li>
<li id='diff-4'>
<a href='https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc#diff-4'>
<strong>
src/gags.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/gags.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/gags.c
</span><span style="color: #aaaaaa">@@ -40,7 +40,7 @@ void gag_ack(char *text);
</span> void gag_hazelesque(char *text);
 void gag_pklong(char *text);
 void gag_unreturnable(char *text);
<span style="color: #000000;background-color: #ffdddd">-char *apply_bork(char *text, const gag_pattern_t *list, int caps);
</span><span style="color: #000000;background-color: #ddffdd">+static char *apply_bork(char *text, const gag_pattern_t *list, int caps);
</span> 
 /****
  * List ALL the gags
<span style="color: #aaaaaa">@@ -765,7 +765,7 @@ void gag_pklong(char *text)
</span> /**
  * old style lookup table gag filters
  **/
<span style="color: #000000;background-color: #ffdddd">-char *apply_bork(char *text, const gag_pattern_t *list, int caps)
</span><span style="color: #000000;background-color: #ddffdd">+static char *apply_bork(char *text, const gag_pattern_t *list, int caps)
</span> {
        static char buff[MAXTEXTLENGTH];
        int tp=0, bp=0;
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/compare/7e8ca22f21aa9cc2776aa169c260e96572beab96...cc3727d6eef5ef2781ef85a9a762a48935c04acc">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can adjust your notification settings.

</p>
</div>
</body>
</html>