Put a missing NULL character to clear the string

Fork of PubNub by PubNub