diff options
author | staffcvs <> | 2008-05-09 12:43:49 +0000 |
---|---|---|
committer | staffcvs <> | 2008-05-09 12:43:49 +0000 |
commit | 972c826a824930ef84391a3f36d601dc823e3038 (patch) | |
tree | c4b046ef35e601d030cfda3f60527bc71992ec7a | |
parent | 6a4255cf4a29954108907716e9e69c72f041d5da (diff) | |
download | sympathy-972c826a824930ef84391a3f36d601dc823e3038.tar.gz sympathy-972c826a824930ef84391a3f36d601dc823e3038.tar.bz2 sympathy-972c826a824930ef84391a3f36d601dc823e3038.zip |
*** empty log message ***
-rw-r--r-- | apps/sympathy.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/sympathy.c b/apps/sympathy.c index 776ae4f..dd0fc75 100644 --- a/apps/sympathy.c +++ b/apps/sympathy.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.49 2008/05/09 12:43:49 staffcvs + * *** empty log message *** + * * Revision 1.48 2008/05/09 12:35:57 james * *** empty log message *** * @@ -544,7 +547,7 @@ main (int argc, char *argv[]) memset (oflags, 0, sizeof (oflags)); memset (oargs, 0, sizeof (oargs)); - while ((c = getopt (argc, argv, "I:NCRP:vw:utscr:lKHd:pb:fL:Fk:n:")) != EOF) + while ((c = getopt (argc, argv, "I:NCSRP:vw:utscr:lKHd:pb:fL:Fk:n:")) != EOF) { switch (c) { @@ -554,7 +557,7 @@ main (int argc, char *argv[]) usage (); case 'S': use_syslog++; - openlog ("sympathy", LOG_PID | LOG_CONSOLE, LOG_DAEMON); + openlog ("sympathy", LOG_PID | LOG_CONS, LOG_DAEMON); /*fall through */ default: if ((c >= 'A') && (c <= 'Z')) @@ -723,7 +726,7 @@ main (int argc, char *argv[]) fatal_moan ("-c or -r are incompatible with -p, -d, -K, -b, -f, -R, -P or -L"); - if (oflags['C'] || !oflags['d']) + if (oflags['C'] && !oflags['d']) fatal_moan ("-C requires -d"); |