aboutsummaryrefslogtreecommitdiff
path: root/src/Authorisation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authorisation.c')
-rw-r--r--src/Authorisation.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Authorisation.c b/src/Authorisation.c
index 0a4a928..b3e048d 100644
--- a/src/Authorisation.c
+++ b/src/Authorisation.c
@@ -343,13 +343,14 @@ static int VerifyPassword(const char *database,
retcode = 1;
}
#else
- CCTK_WARN( 1, "Sorry, crypt(3) not supported in this configuration.\n" );
+ CCTK_WARN( 1, "Sorry, crypt(3) not supported in this configuration." );
#endif
}
else
{
- CCTK_WARN( 1, "Unknown encryption algorithm: " );
- CCTK_WARN( 1, data->encryption_scheme );
+ CCTK_VWarn(1, __LINE__,__FILE__,CCTK_THORNSTRING,
+ "Unknown encryption algorithm: %s",
+ data->encryption_scheme );
}
}
}