enclose minor GSS error message into parenthesis
authorkouril <kouril>
Tue, 6 Jan 2004 14:28:02 +0000 (14:28 +0000)
committerkouril <kouril>
Tue, 6 Jan 2004 14:28:02 +0000 (14:28 +0000)
src/mod_auth_kerb.c

index a9f8ffa..b633e3f 100644 (file)
@@ -797,7 +797,8 @@ get_gss_error(MK_POOL *p, OM_uint32 err_maj, OM_uint32 err_min, char *prefix)
                                     GSS_C_NULL_OID,
                                     &msg_ctx,
                                     &status_string);
-      err_msg = ap_pstrcat(p, err_msg, ": ", (char*) status_string.value, NULL);
+      err_msg = ap_pstrcat(p, err_msg,
+                          " (", (char*) status_string.value, ")", NULL);
       gss_release_buffer(&min_stat, &status_string);
    } while (!GSS_ERROR(maj_stat) && msg_ctx != 0);