1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

bugfix in smb_err_msg

This commit is contained in:
Luke Leighton 0001-01-01 00:00:00 +00:00
parent ca10eb4490
commit 870bccb174

View File

@ -176,11 +176,10 @@ char *smb_err_msg(uint8 class, uint32 num)
}
}
}
slprintf(ret, sizeof(ret) - 1, "%s - %d",err_classes[i].class, num);
return ret;
}
slprintf(ret, sizeof(ret) - 1, "%s - %d",err_classes[i].class, num);
return ret;
}
slprintf(ret, sizeof(ret) - 1, "Error: Unknown error (%d,%d)",class,num);
return(ret);