Redundant strlen

This might safe a few CPU cycles. But it might be called quiet often on our little embedded system.