mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
Issue #1338 - Part 1: Update NSPR to 4.24
This commit is contained in:
parent
f6096004d7
commit
1a92143e68
454 changed files with 42944 additions and 48647 deletions
|
|
@ -39,7 +39,9 @@ int main(int argc, char **argv)
|
|||
prstderr,"tcp is usually 6, but is %d on this machine\n",
|
||||
proto.p_num);
|
||||
}
|
||||
else PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num);
|
||||
else {
|
||||
PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByName("udp", buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -51,7 +53,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "udp is usually 17, but is %d on this machine\n",
|
||||
proto.p_num);
|
||||
}
|
||||
else PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num);
|
||||
else {
|
||||
PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByNumber(6, buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -63,7 +67,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "Protocol number 6 is usually tcp, but is %s"
|
||||
" on this platform\n", proto.p_name);
|
||||
}
|
||||
else PR_fprintf(prstderr, "Protocol number 6 is %s\n", proto.p_name);
|
||||
else {
|
||||
PR_fprintf(prstderr, "Protocol number 6 is %s\n", proto.p_name);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByNumber(17, buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -75,7 +81,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "Protocol number 17 is usually udp, but is %s"
|
||||
" on this platform\n", proto.p_name);
|
||||
}
|
||||
else PR_fprintf(prstderr, "Protocol number 17 is %s\n", proto.p_name);
|
||||
else {
|
||||
PR_fprintf(prstderr, "Protocol number 17 is %s\n", proto.p_name);
|
||||
}
|
||||
|
||||
PR_fprintf(prstderr, (failed) ? "FAILED\n" : "PASSED\n");
|
||||
return (failed) ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue