<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/51816d3627daf0086d9685ce218a739325bbd100">51816d36</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2015-12-08T21:37:52Z</i>
</div>
<pre class='commit-message'>Minor string fix-ups in client/edit.c</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/client/edit.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/51816d3627daf0086d9685ce218a739325bbd100#diff-0'>
<strong>
src/client/edit.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/edit.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/edit.c
</span><span style="color: #aaaaaa">@@ -307,7 +307,7 @@ void edit_user(const char *args, const char *name)
</span>           show_fold_groups(usr->groups, stats, true);
                oldstats = strdup(stats);
                printf(_("User currently in groups [%s]\n"),oldstats);
<span style="color: #000000;background-color: #ffdddd">-                printf(_("New Groups [+-=][12345678]: "));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("New groups [+-=][12345678]: "));
</span>           get_str(stats,10);
                if (*stats)
                {
<span style="color: #aaaaaa">@@ -327,7 +327,7 @@ void edit_user(const char *args, const char *name)
</span>           char pass1[PASSWDSIZE+1],pass2[PASSWDSIZE+1];
                char salt[3];
                pick_salt(salt);
<span style="color: #000000;background-color: #ffdddd">-                strcpy(pass1,crypt(get_pass(_("New Passwd: ")),salt));
</span><span style="color: #000000;background-color: #ddffdd">+           strcpy(pass1,crypt(get_pass(_("New password: ")),salt));
</span>           strcpy(pass2,crypt(get_pass(_("Again: ")),salt));
                if (strcmp(pass1,pass2))
                {
<span style="color: #aaaaaa">@@ -348,7 +348,7 @@ void edit_user(const char *args, const char *name)
</span>           char *oldreal;
 
                oldreal = strdup(usr->realname);
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Real Name: %s\n"),oldreal);
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Real name: %s\n"),oldreal);
</span>           printf(_("Enter new name (%d chars): "),REALNAMESIZE);
                get_str(realname,REALNAMESIZE);
                if (*realname)
<span style="color: #aaaaaa">@@ -371,19 +371,19 @@ void edit_user(const char *args, const char *name)
</span> 
                oldroom = usr->room;
                printf(_("User currently in room [%d]\n"),oldroom);
<span style="color: #000000;background-color: #ffdddd">-                printf(_("New Room: [0-65535]: "));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("New room: [0-65535]: "));
</span>           get_str(room,5);
                if (*room)
                {
                        if (sscanf(room,"%d",&newroom)!=1)
                        {
<span style="color: #000000;background-color: #ffdddd">-                                printf(_("Invalid Room ID (0-65535 only)\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                           printf(_("Invalid room ID (0-65535 only)\n"));
</span>                           return;
                        }
 
                        if (newroom<0 || newroom>65535)
                        {
<span style="color: #000000;background-color: #ffdddd">-                                printf(_("Invalid Room ID (0-65535 only)\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                           printf(_("Invalid room ID (0-65535 only)\n"));
</span>                           return;
                        }
                        usr->room = (unsigned short)newroom;
<span style="color: #aaaaaa">@@ -401,7 +401,7 @@ void edit_user(const char *args, const char *name)
</span>           char oldname[NAMESIZE+1];
 
                printf(_("WARNING: This command can be very dangerous !\n"));
<span style="color: #000000;background-color: #ffdddd">-                printf(_("User Name: %s\n"), usr->name);
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("User name: %s\n"), usr->name);
</span>           printf(_("Enter new username (%d chars): "),NAMESIZE);
                get_str(username,NAMESIZE);
 
<span style="color: #aaaaaa">@@ -436,9 +436,9 @@ void edit_user(const char *args, const char *name)
</span>                                     user->record.name, oldname, username);
                                mwlog("CHANGE(USERNAME) of %s to %s", oldname, username);
                        }else
<span style="color: #000000;background-color: #ffdddd">-                                printf(_("Change Cancelled.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                           printf(_("Change cancelled.\n"));
</span>           }else
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Change Cancelled.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Change cancelled.\n"));
</span>   }else
        if (stringcmp(args,"contact",2))
        {
<span style="color: #aaaaaa">@@ -459,8 +459,8 @@ void edit_user(const char *args, const char *name)
</span>   if (stringcmp(args,"doing",2))
        {
                char doing[DOINGSIZE];
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Current Status: %s\n"), usr->doing);
-               printf(_("New Status (%d chars): "),DOINGSIZE-1);
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Current status: %s\n"), usr->doing);
+               printf(_("New status (%d chars): "),DOINGSIZE-1);
</span>           get_str(doing,DOINGSIZE-1);
                if (*doing)
                {
<span style="color: #aaaaaa">@@ -583,13 +583,13 @@ void edit_user(const char *args, const char *name)
</span>           else
                        printf(_("Timeout set to %s.\n"), itime(usr->timeout));
                timeon = usr->lastlogout;
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Last Login: %s"), ctime(&timeon));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Last login: %s"), ctime(&timeon));
</span>           time_on(usr->timeused);
                if (usr->dowhen != 0 && usr->doing[0] != 0)
                printf(_("Status: %s (%s ago)\n"), usr->doing, itime(time(0) - usr->dowhen));
        }else
        {
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Unknown Command\n"));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Unknown command\n"));
</span>           return;
        }
        update_user(&u);
<span style="color: #aaaaaa">@@ -694,7 +694,7 @@ void edit_folder(const char *args, const char *name)
</span>   }else
        if (stringcmp(args,"size",4))
        {
<span style="color: #000000;background-color: #ffdddd">-                printf(_("First Message in folder is %d\n"),fold.first);
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("First message in folder is %d\n"),fold.first);
</span>           printf(_("New first message: "));
                get_str(tmp,10);
                if (*tmp)
<span style="color: #aaaaaa">@@ -702,8 +702,8 @@ void edit_folder(const char *args, const char *name)
</span>                   fold.first=atoi(tmp);
                        printf(_("First message set to %d\n"),fold.first);
                }
<span style="color: #000000;background-color: #ffdddd">-                printf(_("Last Message in folder is %d\n"),fold.last);
-               printf(_("New Last message: "));
</span><span style="color: #000000;background-color: #ddffdd">+           printf(_("Last message in folder is %d\n"),fold.last);
+               printf(_("New last message: "));
</span>           get_str(tmp,10);
                if (*tmp)
                {
<span style="color: #aaaaaa">@@ -751,11 +751,11 @@ void edit_folder(const char *args, const char *name)
</span>                   fold.g_status=0;
                        fold.name[0]=0;
                        users_lastread(folnum);
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Folder Deleted.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Folder deleted.\n"));
</span>                   mwlog("FOLDER(DELETE) %s", fold.name);
                }else
                {
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Not Done.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Not done.\n"));
</span>                   return;
                }
        }else
<span style="color: #aaaaaa">@@ -890,7 +890,7 @@ void mesg_edit(const char *args, struct folder *folder, int msgno, struct user *
</span>                   printf(_("Message now to '%s'\n"),foo);
                        strcpy(head.to,foo);
                }else
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Not Done.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Not done.\n"));
</span>   }else
        if (stringcmp(args,"subject",3))
        {
<span style="color: #aaaaaa">@@ -903,7 +903,7 @@ void mesg_edit(const char *args, struct folder *folder, int msgno, struct user *
</span>                   printf(_("Subject '%s'\n"),foo);
                        strcpy(head.subject,foo);
                }else
<span style="color: #000000;background-color: #ffdddd">-                        printf(_("Not Done.\n"));
</span><span style="color: #000000;background-color: #ddffdd">+                   printf(_("Not done.\n"));
</span>   }else
        if (stringcmp(args,"delete",3))
        {
<span style="color: #aaaaaa">@@ -951,7 +951,7 @@ void time_on(long u)
</span>   m=m/60;
        s=u%60;
 
<span style="color: #000000;background-color: #ffdddd">-        printf(_("Total Login Time of "));
</span><span style="color: #000000;background-color: #ddffdd">+   printf(_("Total login time of "));
</span>   if (d>0)
                printf(_("%d day%s, "),d,d>1?"s":"");
        if (h>0)
</code></pre>

<br>
</li>

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

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/51816d3627daf0086d9685ce218a739325bbd100">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/51816d3627daf0086d9685ce218a739325bbd100"}}</script>
</p>
</div>
</body>
</html>