Correct sprintf usage in Network