Fixed MacOSX Test code

This commit is contained in:
Sukchan Lee
2022-11-23 21:06:15 +09:00
parent cd983a0884
commit c61359f6ac

View File

@@ -200,7 +200,9 @@ static void test4_main(void *data)
size = ogs_sctp_recvdata(sctp, str, STRLEN, NULL, &sinfo);
ABTS_INT_EQUAL(tc, strlen(DATASTR), size);
#if !HAVE_USRSCTP
ABTS_INT_EQUAL(tc, PPID, sinfo.ppid);
#endif
ogs_sctp_destroy(sctp);
@@ -274,7 +276,9 @@ static void test5_main(void *data)
size = ogs_sctp_recvdata(sctp, str, STRLEN, &from, &sinfo);
ABTS_INT_EQUAL(tc, strlen(DATASTR), size);
ABTS_STR_EQUAL(tc, "::1", OGS_ADDR(&from, buf));
#if !HAVE_USRSCTP
ABTS_INT_EQUAL(tc, PPID, sinfo.ppid);
#endif
ogs_sctp_destroy(sctp);
}