This is off topic and the rest of the code is also effected (not your fault): 

IMHO it should be "save" = de:gespeichert not "safe" (security) = de:gesichert 
The string is saved into heap, because channelStr will be deleted from stack after returning from parseText().
Maybe a native speaker can verify it. 

Because of this, pSafeChannelStr should become pSavedChannelStr.