* disp_com_err_status.c (init_et): Variable deleted.
authorKen Raeburn <raeburn@mit.edu>
Wed, 2 Jun 2004 23:40:12 +0000 (23:40 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 2 Jun 2004 23:40:12 +0000 (23:40 +0000)
(g_display_com_err_status): Don't call initialize_ggss_error_table
conditionally; instead, always call gssint_initialize_library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16391 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/disp_com_err_status.c

index a9f93eb14bc1b2067f5b54c769d60deda89d57f9..ec34f6b5a678c10e96050b719a4f77d74a853cd3 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-02  Ken Raeburn  <raeburn@mit.edu>
+
+       * disp_com_err_status.c (init_et): Variable deleted.
+       (g_display_com_err_status): Don't call initialize_ggss_error_table
+       conditionally; instead, always call gssint_initialize_library.
+
 2004-04-24  Ken Raeburn  <raeburn@mit.edu>
 
        * gssapiP_generic.h (G_SET_INIT): Use the new mutex partial
index c4db91375c447a22313d8ffd02139fb65b6ab70c..24511dfe50f7190e779d362bd9c4da7de7dd549d 100644 (file)
@@ -31,7 +31,6 @@
 
 /**/
 
-static int init_et = 0;
 static const char * const no_error = "No error";
 
 /**/
@@ -53,10 +52,7 @@ g_display_com_err_status(minor_status, status_value, status_string)
    status_string->length = 0;
    status_string->value = NULL;
 
-   if (!init_et) {
-      initialize_ggss_error_table();
-      init_et = 1;
-   }
+   (void) gssint_initialize_library();
 
    if (! g_make_string_buffer(((status_value == 0)?no_error:
                               error_message(status_value)),