1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r4023: Code tidyup to fix bug #2098.

Jeremy.
(This used to be commit ebaf21e3e2)
This commit is contained in:
Jeremy Allison 2004-11-30 22:57:41 +00:00 committed by Gerald (Jerry) Carter
parent e7a0aabc2e
commit bd43910331

View File

@ -96,11 +96,9 @@ NTSTATUS ads_ntstatus(ADS_STATUS status)
*/
const char *ads_errstr(ADS_STATUS status)
{
uint32 msg_ctx;
static char *ret;
SAFE_FREE(ret);
msg_ctx = 0;
switch (status.error_type) {
case ENUM_ADS_ERROR_SYSTEM:
@ -116,7 +114,10 @@ const char *ads_errstr(ADS_STATUS status)
#ifdef HAVE_GSSAPI
case ENUM_ADS_ERROR_GSS:
{
uint32 msg_ctx;
uint32 minor;
msg_ctx = 0;
gss_buffer_desc msg1, msg2;
msg1.value = NULL;