Fix incidences of syntax error.

src/net.rs:192:13: 192:15 error: expected one of `.`, `;`, or `}`, found `Ok`


------

Same caveat as previous pull ;)