diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-06-01 13:43:16 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-06-01 13:43:16 +0000 |
commit | cacd8ef4102ec88f542da09acd44d0d0a0b28070 (patch) | |
tree | be6593e7004eedc16ef87546b5f70ac709f0087d /src/Authorisation.c | |
parent | 6ed222ce2f447f20e04d2a448d4b2a0a723dc0ae (diff) |
Concerning bug 1699:
Except for a few places where fprintf(stderr... is explicitly #ifdef'ed
out as debug code, replaced calls with CCTK_WARN with appropriate
warning levels.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@210 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Authorisation.c')
-rw-r--r-- | src/Authorisation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Authorisation.c b/src/Authorisation.c index 571118e..42529be 100644 --- a/src/Authorisation.c +++ b/src/Authorisation.c @@ -342,12 +342,13 @@ static int VerifyPassword(const char *database, retcode = 1; } #else - fprintf(stderr, "Sorry, crypt(3) not supported in this configuration.\n"); + CCTK_WARN( 1, "Sorry, crypt(3) not supported in this configuration.\n" ) #endif } else { - fprintf(stderr, "Unknown encryption algorithm '%s'\n", data->encryption_scheme); + CCTK_WARN( 1, "Unknown encryption algorithm: " ); + CCTK_WARN( 1, data->encryption_scheme ); } } } |