[PATCH] server: Make region.c a little less ugly.