Changeset 4606 for source/ariba


Ignore:
Timestamp:
Jun 29, 2009, 3:03:24 PM (15 years ago)
Author:
Christoph Mayer
Message:

unspec identifier handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/types/Identifier.h

    r4604 r4606  
    571571        // calculate length of key
    572572        uint16_t len = array_size*sizeof(mp_limb_t);
    573         uint8_t unspec = (isUnspec ? 1 : 0);
     573        uint8_t unspec = isUnspec;
    574574
    575575        // only serialize the lower 16 bits of keyLength
    576576        X && unspec && len;
    577577
    578         /* debugging
     578        /*
    579579        if (X.isDeserializer()){
    580580                if(len != array_size*sizeof(mp_limb_t)){
     
    590590
    591591        // when deserializing reset unspec flag
    592         if (X.isDeserializer()) isUnspec = (unspec == 1 ? true : false);
     592        if (X.isDeserializer()){
     593                isUnspec = false;
     594                isUnspec = unspec;
     595                std::cout << "isUnspec: " << isUnspec << "   " << "unspec: " << unspec << std::endl;
     596        }
     597
    593598} sznEnd();
    594599
Note: See TracChangeset for help on using the changeset viewer.