Fix return value of AdminId.GetUsername. (#2438)

This commit is contained in:
David Anderson
2026-04-10 08:31:15 -07:00
committed by GitHub
parent feaeb6a0ea
commit 80ca6f8cd4
+1 -1
View File
@@ -175,7 +175,7 @@ methodmap AdminId {
// @param name String buffer to store name.
// @param maxlength Maximum size of string buffer.
// @return Number of bytes written.
public native bool GetUsername(char[] name, int maxlength);
public native int GetUsername(char[] name, int maxlength);
// Binds an admin to an identity for fast lookup later on. The bind must be unique.
//