krb5_error_code -> int

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3614 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-10-14 23:00:39 +00:00
parent 73bc1937d6
commit bfc1cc40bc
2 changed files with 3 additions and 3 deletions

View File

@@ -225,13 +225,13 @@ _kafs_afslog_all_local_cells(kafs_data *data, uid_t uid)
the cell it is serving is living in another realm.
*/
static krb5_error_code
static int
realm_of_cell(kafs_data *data, const char *cell, char **realm)
{
FILE *F;
char buf[1024];
char *p;
krb5_error_code ret = -1;
int ret = -1;
if((F = fopen(_PATH_CELLSERVDB, "r"))){
while(fgets(buf, sizeof(buf), F)){