Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed __func__ usage which is c99.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395792 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit fa00a600392d46eb63de888c9ffb25b768efcdd9 1 parent fd9aa81
Guenter Knauf authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 support/passwd_common.c
View
8 support/passwd_common.c
@@ -58,7 +58,7 @@ static int generate_salt(char *s, size_t size, const char **errstr,
n = (size * 6 + 7)/8;
if (n > sizeof(rnd)) {
- apr_file_printf(errfile, "%s: BUG: Buffer too small", __func__);
+ apr_file_printf(errfile, "generate_salt(): BUG: Buffer too small");
abort();
}
rv = apr_generate_random_bytes(rnd, n);
@@ -242,7 +242,7 @@ int mkhash(struct passwd_ctx *ctx)
#endif /* BCRYPT_ALGO_SUPPORTED */
default:
- apr_file_printf(errfile, "%s: BUG: invalid algorithm %d", __func__,
+ apr_file_printf(errfile, "mkhash(): BUG: invalid algorithm %d",
ctx->alg);
abort();
}
@@ -307,7 +307,9 @@ int parse_common_options(struct passwd_ctx *ctx, char opt,
break;
}
default:
- apr_file_printf(errfile, "%s: BUG: invalid option %c", __func__, opt);
+ apr_file_printf(errfile,
+ "parse_common_options(): BUG: invalid option %c",
+ opt);
abort();
}
return 0;
Please sign in to comment.
Something went wrong with that request. Please try again.