got rid of lots of stupid casts

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-11-19 22:48:40 +00:00
parent 99f492acf0
commit 94cb9a93ac
24 changed files with 79 additions and 79 deletions

View File

@@ -1599,7 +1599,7 @@ renamefrom(char *name)
if (stat(name, &st) < 0) {
perror_reply(550, name);
return ((char *)0);
return NULL;
}
reply(350, "File exists, ready for destination name");
return (name);
@@ -1763,7 +1763,7 @@ gunique(char *local)
*cp = '\0';
if (stat(cp ? local : ".", &st) < 0) {
perror_reply(553, cp ? local : ".");
return ((char *) 0);
return NULL;
}
if (cp)
*cp = '/';