projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore wrong encoding in multipart/*
[mmh]
/
uip
/
aliasbr.c
diff --git
a/uip/aliasbr.c
b/uip/aliasbr.c
index
6a68c51
..
97f0c34
100644
(file)
--- a/
uip/aliasbr.c
+++ b/
uip/aliasbr.c
@@
-11,6
+11,7
@@
#include <h/utils.h>
#include <grp.h>
#include <pwd.h>
#include <h/utils.h>
#include <grp.h>
#include <pwd.h>
+#include <ctype.h>
static int akvis;
static char *akerrst;
static int akvis;
static char *akerrst;
@@
-525,7
+526,7
@@
seek_home(char *name)
** The only place where there might be problems.
** This assumes that ALL usernames are kept in lowercase.
*/
** The only place where there might be problems.
** This assumes that ALL usernames are kept in lowercase.
*/
- for (c = name, c1 = lname; *c && (c1 - lname < sizeof(lname) - 1);
+ for (c = name, c1 = lname; *c && (c1 - lname < (int)sizeof(lname) - 1);
c++, c1++) {
if (isalpha(*c) && isupper(*c))
*c1 = tolower(*c);
c++, c1++) {
if (isalpha(*c) && isupper(*c))
*c1 = tolower(*c);