Mercurial > hg > nnchat
comparison nnchat.c @ 153:f1684884fd56
Comment cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Nov 2010 00:03:02 +0200 |
parents | 303db1141147 |
children | e8f67e344aaf |
comparison
equal
deleted
inserted
replaced
152:900768340e65 | 153:f1684884fd56 |
---|---|
859 | 859 |
860 setBrowser = getenv("BROWSER"); | 860 setBrowser = getenv("BROWSER"); |
861 if (setBrowser == NULL) | 861 if (setBrowser == NULL) |
862 setBrowser = "firefox"; | 862 setBrowser = "firefox"; |
863 | 863 |
864 /* Parse arguments */ | 864 /* Parse command line arguments */ |
865 argsOK = th_args_process(argc, argv, optList, optListN, | 865 argsOK = th_args_process(argc, argv, optList, optListN, |
866 argHandleOpt, argHandleFile, FALSE); | 866 argHandleOpt, argHandleFile, FALSE); |
867 | 867 |
868 /* Check the mode and arguments */ | 868 /* Check if we have username and password */ |
869 if (optUserName == NULL || optPassword == NULL) { | 869 if (optUserName == NULL || optPassword == NULL) { |
870 THERR("User/pass not specified, get some --help\n"); | 870 THERR("User/pass not specified, get some --help\n"); |
871 return -1; | 871 return -1; |
872 } | 872 } |
873 | 873 |