diff --git a/src/inet.c b/src/inet.c index 7a1f437..2d504f0 100644 --- a/src/inet.c +++ b/src/inet.c @@ -1121,7 +1121,7 @@ inet_sendto(int s, const void *msg, size_t len, int flags, inet_send(s, msg, len/2, flags); err=inet_send(s, (const char *)msg+(len/2), len-(len/2), flags); - error("\nsendto error after fragmention is: %d, err is: %d \n", errno, err); + error("\nsendto error after fragmention is: %d, err is: %d\n", errno, err); break; case EFAULT: error("The value of to is: %d", to); @@ -1130,6 +1130,9 @@ inet_sendto(int s, const void *msg, size_t len, int flags, return err; break; } + + error("\nSuccessfully sent packet, errno: %d\n", errno); + } return err; }