Fixed possible buf in proto.c