diff options
author | james <> | 2008-02-27 09:47:14 +0000 |
---|---|---|
committer | james <> | 2008-02-27 09:47:14 +0000 |
commit | aa6ec2fe3ec97c448431055aac86628de8909a4a (patch) | |
tree | 36006328733362e374bde29f86c247180279bf4a | |
parent | d47f96f27aa2713f46a472e9d1e8721f521b34e8 (diff) | |
download | sympathy-aa6ec2fe3ec97c448431055aac86628de8909a4a.tar.gz sympathy-aa6ec2fe3ec97c448431055aac86628de8909a4a.tar.bz2 sympathy-aa6ec2fe3ec97c448431055aac86628de8909a4a.zip |
*** empty log message ***
-rw-r--r-- | apps/sympathy.c | 21 | ||||
-rw-r--r-- | version-md5sums | 1 | ||||
-rw-r--r-- | version-micro | 2 |
3 files changed, 13 insertions, 11 deletions
diff --git a/apps/sympathy.c b/apps/sympathy.c index 29c3280..3ade5cd 100644 --- a/apps/sympathy.c +++ b/apps/sympathy.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.19 2008/02/27 09:47:05 james + * *** empty log message *** + * * Revision 1.18 2008/02/27 09:42:53 james * *** empty log message *** * @@ -301,15 +304,6 @@ main (int argc, char *argv[]) oflags['s'] = 0; - if (!oflags['s'] && !oflags['c'] && !oflags['t'] && !oflags['r'] - && !oflags['l']) - { - /*If no mode is specified behave like screen */ - oflags['s']++; - oflags['c']++; - } - - { int sum = 0; sum += oflags['t']; @@ -318,6 +312,12 @@ main (int argc, char *argv[]) sum += oflags['l']; sum += oflags['v']; + if (!sum) { + /*If no mode is specified behave like screen */ + oflags['s']++; + oflags['c']++; + } + if (sum != 1) fatal_moan ("specifiy exactly one of ( -c and or -s ), -t, -r, -l and -v"); @@ -325,7 +325,8 @@ main (int argc, char *argv[]) if (oflags['v']) { - fprintf ("Version: %s\n", libsympathy_version ()); + fprintf (stderr, "Version: %s\n", libsympathy_version ()); + fprintf (stderr, "Version: %s\n", rcsid); return 0; } diff --git a/version-md5sums b/version-md5sums index 9683ee3..33374ee 100644 --- a/version-md5sums +++ b/version-md5sums @@ -2,3 +2,4 @@ ca1ac5a7fc122af620b0cf7296c324c3 1.0.2 ac9d93b50970b366e4531b4ea5a1c983 1.0.3 ac9d93b50970b366e4531b4ea5a1c986 1.1.0 +0ea0fc96142920321bfa5354dc6b9da9 1.1.1 diff --git a/version-micro b/version-micro index 3a2e3f4..573541a 100644 --- a/version-micro +++ b/version-micro @@ -1 +1 @@ --1 +0 |