ossp-pkg/l2/l2_ut_sa.c 1.1 -> 1.2
--- l2_ut_sa.c 2001/09/06 16:28:38 1.1
+++ l2_ut_sa.c 2001/09/06 17:17:41 1.2
@@ -100,7 +100,7 @@
va_start(ap, sa_type);
sa = NULL;
sl = 0;
- if (sa_type == SA_UNIX) {
+ if (sa_type == L2_UTIL_SA_UNIX) {
#if defined(AF_LOCAL)
if ((cpPath = va_arg(ap, char *)) == NULL)
return NULL;
@@ -115,7 +115,7 @@
return NULL;
#endif
}
- else if (sa_type == SA_IP) {
+ else if (sa_type == L2_UTIL_SA_IP) {
if ((cpProto = va_arg(ap, char *)) == NULL)
return NULL;
if ((cpHost = va_arg(ap, char *)) == NULL)
|
|