afsmonitor-remove-pointless-if-20040729
[openafs.git] / src / afsmonitor / afsmonitor.c
index 252e91d..14ca3da 100644 (file)
@@ -5,6 +5,8 @@
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
+ *
+ * Portions Copyright (c) 2003 Apple Computer, Inc.
  */
 
 /*
@@ -275,7 +277,7 @@ extern char *cm_categories[];       /* cache manager data category names */
 
 
 
-#ifndef AFS_FBSD_ENV
+#if !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN70_ENV)
 /*     
         strcasestr(): Return first occurence of pattern s2 in s1, case 
        insensitive. 
@@ -896,7 +898,7 @@ parse_threshEntry(a_line)
            fprintf(stderr, "[ %s ] Programming error 2\n", rn);
            return (-1);
        }
-    } else if ((strcasecmp(arg1, "cm")) != 0 && (strcasecmp(arg1, "cm")) != 0) {
+    } else {
        fprintf(stderr,
                "[ %s ] Syntax error. Second argument should be \"fs\" or \"cm\" \n",
                rn);