Maybe define MAX_NAME_LEN somewhere so it's explicitly obvious what the 255 is.