OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xds_engine_xdr.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/xds_engine_xdr.c 1.5 -> 1.6

--- xds_engine_xdr.c     2001/08/12 11:31:45     1.5
+++ xds_engine_xdr.c     2001/08/13 19:48:02     1.6
@@ -73,7 +73,7 @@
     value = va_arg(*args, xds_int32_t *);
     xds_check_parameter(value != NULL);
 
-    if (((xds_uint8_t *) buffer)[0] & 0x80) {   
+    if (((xds_uint8_t *) buffer)[0] & 0x80) {
         /* negative number */
         tmp =  ((xds_uint8_t *)buffer)[0];
         tmp = tmp << 8;
@@ -85,7 +85,7 @@
         tmp = 0 - tmp;
         *value = 0 - (int32_t)tmp;
     }
-    else {                             
+    else {
         /* positive number */
         *value =  ((xds_uint8_t *)buffer)[0];
         *value = *value << 8;
@@ -192,7 +192,7 @@
     value = va_arg(*args, xds_int64_t *);
     xds_check_parameter(value != NULL);
 
-    if (((xds_uint8_t *)buffer)[0] & 0x80) {  
+    if (((xds_uint8_t *)buffer)[0] & 0x80) {
         /* negative number */
         tmp =  ((xds_uint8_t *)buffer)[0];
         tmp = tmp << 8;

CVSTrac 2.0.1