Skip to content

Commit c03c719

Browse files
authored
Merge pull request Tencent#1064 from tinymind/master
[fix] assert "XLogger::DoTypeSafeFormat: %d not fit mode"
2 parents 9332c1b + e0e64bd commit c03c719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mars/sdt/src/activecheck/dnschecker.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void DnsChecker::__DoCheck(CheckRequestProfile& _check_request) {
7676
}else if (1 == ipinfo.size){
7777
profile.ip1 = inet_ntoa(ipinfo.ip[0]);
7878
}else{
79-
xerror2(TSF"ret = 0, but ipinfo.size = %d", ipinfo.size);
79+
xerror2(TSF"ret = 0, but ipinfo.size = %0", ipinfo.size);
8080
}
8181
} else {
8282
xinfo2(TSF"%0, check dns, host: %1, ret: %2", NET_CHECK_TAG, profile.domain_name, CHECK_FAIL);
@@ -124,7 +124,7 @@ void DnsChecker::__DoCheck(CheckRequestProfile& _check_request) {
124124
}else if (1 == ipinfo.size){
125125
profile.ip1 = inet_ntoa(ipinfo.ip[0]);
126126
}else{
127-
xerror2(TSF"ret = 0, but ipinfo.size = %d", ipinfo.size);
127+
xerror2(TSF"ret = 0, but ipinfo.size = %0", ipinfo.size);
128128
}
129129
} else {
130130
xinfo2(TSF"%0, check dns, host: %1, ret: %2", NET_CHECK_TAG, profile.domain_name, CHECK_FAIL);

0 commit comments

Comments
 (0)