bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] [PATCH 3/7] argp'fied argument parsing & tiny fixes


From: Arash Yadegarnia
Subject: [bug-inetutils] [PATCH 3/7] argp'fied argument parsing & tiny fixes
Date: Fri, 22 Aug 2008 23:30:33 +0430

Tool name: telnet

telnet/main.c:

        * Removed getopt () interface
        * Added argp_* interface
        * removed 'family' and 'user' variables
        * Included libinetutils.h
        * Defined MAX_TLINE_BUF
        * Removed help (), try_help () and usage ()
        
telnet/commands.c:

        * Changed some strcpy() to strncpy ()
        * Defined MAX_BUF_SIZ

telnet/externs.h:

        * declare 'family' and 'user' as extern among other argument
        values


Attachment: telnet.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]