]> andersk Git - moira.git/commitdiff
update to use new com_err library
authormar <mar>
Mon, 26 Jun 1989 12:37:17 +0000 (12:37 +0000)
committermar <mar>
Mon, 26 Jun 1989 12:37:17 +0000 (12:37 +0000)
lib/mr_auth.c
lib/mr_init.c

index 3316d3efe3d34f1ac7a4bc41a2070d0296a26be5..9c6ef22867928a2a975a36bb98928c5da585fdd7 100644 (file)
@@ -18,8 +18,8 @@ static char *rcsid_sms_auth_c = "$Header$";
 #include <mit-copyright.h>
 #include "sms_private.h"
 #include <krb.h>
+#include <krb_et.h>
 
-extern int krb_err_base;
 
 /* Authenticate this client with the SMS server.  prog is the name of the
  * client program, and will be recorded in the database.
@@ -50,7 +50,7 @@ char *prog;
     }
     status = krb_mk_req(&auth, "sms", "sms", realm, 0);
     if (status != KSUCCESS) {
-       status += krb_err_base;
+       status += ERROR_TABLE_BASE_krb;
        return status;
     } 
     params->sms_version_no = sending_version_no;
@@ -73,14 +73,3 @@ char *prog;
 
     return status;
 }
-
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
index 35e599a0e4907fd0bc82bcd18b366995058fce1d..b2310f32593b52ebe1c45280bd16bfc58b13c971 100644 (file)
@@ -26,8 +26,8 @@ sms_init()
        if (sms_inited) return;
        
        gdb_init();
-       init_sms_err_tbl();
-       init_krb_err_tbl();
+       initialize_sms_error_table();
+       initialize_krb_error_table();
        link_against_the_moira_version_of_gdb = 0;
        sms_inited=1;
 }
This page took 0.030959 seconds and 5 git commands to generate.