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
 			break;
1118
 			break;
1119
 		case EFAULT:
1119
 		case EFAULT:
1120
 			error("To Family is: %hu "
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
 		default:
1123
 		default:
1124
 			error("inet_sendto: Cannot send(): %s", strerror(errno));
1124
 			error("inet_sendto: Cannot send(): %s", strerror(errno));
1125
 			return err;
1125
 			return err;

Loading…
Cancel
Save