[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1603 - GNUnet/src/util
From: |
durner |
Subject: |
[GNUnet-SVN] r1603 - GNUnet/src/util |
Date: |
Thu, 4 Aug 2005 11:52:00 -0700 (PDT) |
Author: durner
Date: 2005-08-04 11:51:57 -0700 (Thu, 04 Aug 2005)
New Revision: 1603
Modified:
GNUnet/src/util/initialize.c
Log:
stricmp is not standard
Modified: GNUnet/src/util/initialize.c
===================================================================
--- GNUnet/src/util/initialize.c 2005-08-04 17:59:27 UTC (rev 1602)
+++ GNUnet/src/util/initialize.c 2005-08-04 18:51:57 UTC (rev 1603)
@@ -111,31 +111,31 @@
if (str) {
/* We support four levels (NORMAL, ABOVE NORMAL, BELOW NORMAL,
HIGH and IDLE)
* and the usual numeric nice() increments */
- if (stricmp(str, "NORMAL") == 0)
+ if (strcmp(str, "NORMAL") == 0)
#ifdef MINGW
prio = NORMAL_PRIORITY_CLASS;
#else
prio = 0;
#endif
- else if (stricmp(str, "ABOVE NORMAL") == 0)
+ else if (strcmp(str, "ABOVE NORMAL") == 0)
#ifdef MINGW
prio = ABOVE_NORMAL_PRIORITY_CLASS;
#else
prio = -10;
#endif
- else if (stricmp(str, "BELOW NORMAL") == 0)
+ else if (strcmp(str, "BELOW NORMAL") == 0)
#ifdef MINGW
prio = BELOW_NORMAL_PRIORITY_CLASS;
#else
prio = 10;
#endif
- else if (stricmp(str, "HIGH") == 0)
+ else if (strcmp(str, "HIGH") == 0)
#ifdef MINGW
prio = HIGH_PRIORITY_CLASS;
#else
prio = -20;
#endif
- else if (stricmp(str, "IDLE") == 0)
+ else if (strcmp(str, "IDLE") == 0)
#ifdef MINGW
prio = IDLE_PRIORITY_CLASS;
#else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1603 - GNUnet/src/util,
durner <=