]> granicus.if.org Git - apache/commitdiff
ap_log_error already logs the error string, no need to log it twice
authorStefan Fritsch <sf@apache.org>
Sun, 31 Mar 2013 20:13:48 +0000 (20:13 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 31 Mar 2013 20:13:48 +0000 (20:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463045 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_digest.c

index 145c49f20deb45f95d1a9eb7ad40427ee1b5409e..70703b9c5ef41ad070df3a4dc6adbcd0740fbe81 100644 (file)
@@ -240,10 +240,8 @@ static apr_status_t initialize_secret(server_rec *s)
 #endif
 
     if (status != APR_SUCCESS) {
-        char buf[120];
         ap_log_error(APLOG_MARK, APLOG_CRIT, status, s, APLOGNO(01758)
-                     "error generating secret: %s",
-                     apr_strerror(status, buf, sizeof(buf)));
+                     "error generating secret");
         return status;
     }