X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=aa1330f1030476419db4c95cc054e6d7b8774bfb;hb=819acff4ee67e603054de2790c171158265898c7;hp=db277c5ae4289bea9a0f66c751bfaebfb933a545;hpb=425c277481e92f78631f45ba17797fa293d7cca7;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index db277c5ae..aa1330f10 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -367,7 +367,7 @@ int CtdlLoginExistingUser(char *trythisname) char pwdbuffer[256]; lprintf(CTDL_DEBUG, "asking host about <%s>\n", username); -#ifdef BSD_GETPWUID +#ifdef SOLARIS_GETPWUID tempPwdPtr = getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer); #else getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer, &tempPwdPtr); @@ -838,7 +838,7 @@ int create_user(char *newusername, int become_user) struct passwd *tempPwdPtr; char pwdbuffer[256]; -#ifdef BSD_GETPWUID +#ifdef SOLARIS_GETPWUID tempPwdPtr = getpwnam_r(username, &pd, pwdbuffer, sizeof(pwdbuffer)); #else getpwnam_r(username, &pd, pwdbuffer, sizeof pwdbuffer, &tempPwdPtr);