small changes requested by forrest in gearman code.

Change-Id: I611cad21cebe90b8d75a0d618804663d98108ab0