mirror of https://github.com/M66B/NetGuard.git
Small improvement
This commit is contained in:
parent
7628e1c753
commit
2233c92200
|
@ -402,7 +402,7 @@ ssize_t write_icmp(const struct arguments *args, const struct icmp_session *cur,
|
|||
free(buffer);
|
||||
|
||||
if (res != len) {
|
||||
log_android(ANDROID_LOG_ERROR, "write %d wrote %d", res, len);
|
||||
log_android(ANDROID_LOG_ERROR, "write %d/%d", res, len);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -1068,7 +1068,7 @@ ssize_t write_tcp(const struct arguments *args, const struct tcp_session *cur,
|
|||
free(buffer);
|
||||
|
||||
if (res != len) {
|
||||
log_android(ANDROID_LOG_ERROR, "TCP write %d wrote %d", res, len);
|
||||
log_android(ANDROID_LOG_ERROR, "TCP write %d/%d", res, len);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -602,7 +602,7 @@ ssize_t write_udp(const struct arguments *args, const struct udp_session *cur,
|
|||
free(buffer);
|
||||
|
||||
if (res != len) {
|
||||
log_android(ANDROID_LOG_ERROR, "write %d wrote %d", res, len);
|
||||
log_android(ANDROID_LOG_ERROR, "write %d/%d", res, len);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue