axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r554532 - /webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c
Date Mon, 09 Jul 2007 06:27:25 GMT
Author: samisa
Date: Sun Jul  8 23:27:24 2007
New Revision: 554532

URL: http://svn.apache.org/viewvc?view=rev&rev=554532
Log:
Fixed the default mac addr 0 case

Modified:
    webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c

Modified: webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c?view=diff&rev=554532&r1=554531&r2=554532
==============================================================================
--- webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c (original)
+++ webservices/axis2/trunk/c/util/src/platforms/unix/uuid_gen_unix.c Sun Jul  8 23:27:24
2007
@@ -255,7 +255,7 @@
     else
     {
         for (i = 0; i < 6; i++)
-            buffer[i] = (unsigned char)(AXIS2_LOCAL_MAC_ADDR[i]);
+            buffer[i] = (unsigned char)((AXIS2_LOCAL_MAC_ADDR[i]) - '0');
     }
     close(s);
     return buffer;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message