[hackers] [ubase] Only "y" and "n" are valid, nothing else || sin

From: <git_AT_suckless.org>
Date: Sat, 26 Jul 2014 16:52:48 +0200

commit bf9dfd7b2968187e2003ebb87bc28a4cf770c10b
Author: sin <sin_AT_2f30.org>
Date: Sat Jul 26 15:51:21 2014 +0100

    Only "y" and "n" are valid, nothing else
    
    Good catch FRIGN.

diff --git a/mesg.c b/mesg.c
index a44a098..3196e96 100644
--- a/mesg.c
+++ b/mesg.c
_AT_@ -39,9 +39,9 @@ main(int argc, char *argv[])
                 return EXIT_SUCCESS;
         }
 
- if (argv[0][0] == 'y')
+ if (argv[0][0] == 'y' && argv[0][1] == '
Received on Sat Jul 26 2014 - 16:52:48 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 26 2014 - 17:00:11 CEST