Avoid copying and null-terminating strings where not needed
(ref_to_val_af) (rev. 13)

Signed-off-by: nixnodes <code@eth.si>


Signed-off-by: nixnodes <code@eth.si>