tChange the command line parameters to reflect the config.def.h-changes - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4a4b188c9035f914666c6ce2f61b418a5ba58d4f
 (DIR) parent 318a23146680384cd2012c1dd4151bdcb2f4f430
 (HTM) Author: FRIGN <dev@frign.de>
       Date:   Wed, 24 Dec 2014 11:54:24 +0100
       
       Change the command line parameters to reflect the config.def.h-changes
       
       There must now be a way to explicitly disable proxy-mode and tcp-mode.
       
       Diffstat:
         M ratox.c                             |      10 ++++++++--
       
       1 file changed, 8 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -1968,12 +1968,18 @@ main(int argc, char *argv[])
                case 'e':
                        encryptsavefile = 0;
                        break;
       -        case 't':
       +        case 'T':
                        tcp = 1;
                        break;
       -        case 'p':
       +        case 't':
       +                tcp = 0;
       +                break;
       +        case 'P':
                        proxy = 1;
                        break;
       +        case 'p':
       +                proxy = 0;
       +                break;
                default:
                        usage();
                } ARGEND;