X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/36689901f4aefe6e97afc6db0dfaef64d8e060af..3ebfd54532cc4dfdb8fa0dbf6d5156b108525183:/lib/mr_auth.c diff --git a/lib/mr_auth.c b/lib/mr_auth.c index 3316d3ef..9c6ef228 100644 --- a/lib/mr_auth.c +++ b/lib/mr_auth.c @@ -18,8 +18,8 @@ static char *rcsid_sms_auth_c = "$Header$"; #include #include "sms_private.h" #include +#include -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: - */