am d8a9cccb: Merge "Fix all printf warnings in res_send.c."
* commit 'd8a9cccb4d77eecc36425c9240a12bd305031ee3': Fix all printf warnings in res_send.c.
This commit is contained in:
commit
509fc80697
@ -581,8 +581,8 @@ res_nsend(res_state statp,
|
|||||||
if (n == 0)
|
if (n == 0)
|
||||||
goto next_ns;
|
goto next_ns;
|
||||||
if (DBG) {
|
if (DBG) {
|
||||||
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
|
__libc_format_log(ANDROID_LOG_DEBUG, "libc", "time=%ld\n",
|
||||||
"time=%d, %d\n",time(NULL), time(NULL)%2);
|
time(NULL));
|
||||||
}
|
}
|
||||||
if (v_circuit)
|
if (v_circuit)
|
||||||
goto same_ns;
|
goto same_ns;
|
||||||
@ -961,7 +961,7 @@ done:
|
|||||||
fcntl(sock, F_SETFL, origflags);
|
fcntl(sock, F_SETFL, origflags);
|
||||||
if (DBG) {
|
if (DBG) {
|
||||||
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
|
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
|
||||||
" %d connect_with_timeout returning %s\n", sock, res);
|
" %d connect_with_timeout returning %d\n", sock, res);
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
@ -1025,7 +1025,7 @@ retry:
|
|||||||
}
|
}
|
||||||
if (DBG) {
|
if (DBG) {
|
||||||
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
|
__libc_format_log(ANDROID_LOG_DEBUG, "libc",
|
||||||
" %d retrying_select returning %d for %d\n",sock, n);
|
" %d retrying_select returning %d\n",sock, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user