Browse Source

Fixed Debug text.

MissValeska 10 years ago
parent
commit
cfa05e3a64
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/inet.c

+ 2
- 2
src/inet.c View File

@@ -1118,8 +1118,8 @@ inet_sendto(int s, const void *msg, size_t len, int flags,
1118 1118
 			break;
1119 1119
 		case EFAULT:
1120 1120
 			error("To Family is: %hu "
1121
-                                "To Data is: %s "
1122
-                                "and: %s", to->sa_family, to->sa_data, strerror(errno));
1121
+                                "To Data is: %c "
1122
+                                "and: %s", to->sa_family, to->sa_data[14], strerror(errno));
1123 1123
 		default:
1124 1124
 			error("inet_sendto: Cannot send(): %s", strerror(errno));
1125 1125
 			return err;

Loading…
Cancel
Save