]> andersk Git - moira.git/blobdiff - server/mr_util.c
fixed header again - tom
[moira.git] / server / mr_util.c
index ccc9a1e068c4a6999805c8dc3f037241338b97e6..47f7cc6cf17fae8e56fa1d80c4b85b23816ce1d0 100644 (file)
@@ -16,7 +16,6 @@ static char *rcsid_mr_util_c = "$Header$";
 #include "mr_server.h"
 
 #include <ctype.h>
-#include <strings.h>
 #include <sys/types.h>
 
 extern char *whoami;
@@ -108,10 +107,10 @@ int argc;
 char **argv;
 {
     register char **arg;
-    register char *p, *lastch;
+    register unsigned char *p, *lastch;
 
     for (arg = argv; argc--; arg++) {
-       for (lastch = p = *arg; *p; p++) {
+       for (lastch = p = (unsigned char *) *arg; *p; p++) {
            /* If any byte in the string has the high bit set, assume
             * that it is binary and we do not want to trim it.
             * Setting p = lastch will cause us not to trim the string
This page took 0.032055 seconds and 4 git commands to generate.