remote.c: Make packet_ok return struct packet_result

This allows the error message stored in a packet_result to be easily
printed in the calling function.

Approved-By: Andrew Burgess <aburgess@redhat.com>
1 file changed