[CIFS] Copy struct *after* setting the port, instead of before.