OSSP CVS Repository

ossp - Check-in [878]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 878
Date: 2001-Sep-06 19:17:41 (local)
2001-Sep-06 17:17:41 (UTC)
User:rse
Branch:
Comment: use the L2 prefix
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ut_sa.c      1.1 -> 1.2     2 inserted, 2 deleted
ossp-pkg/l2/l2_ut_sa.h      1.1 -> 1.2     2 inserted, 2 deleted

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)


ossp-pkg/l2/l2_ut_sa.h 1.1 -> 1.2

--- l2_ut_sa.h   2001/09/06 16:28:38     1.1
+++ l2_ut_sa.h   2001/09/06 17:17:41     1.2
@@ -43,8 +43,8 @@
 } l2_util_sa_t;
 
 enum {
-    SA_UNIX,
-    SA_IP
+    L2_UTIL_SA_UNIX,
+    L2_UTIL_SA_IP
 };
 
 l2_util_sa_t *l2_util_sa_create(int, ...);

CVSTrac 2.0.1