Changeset 401

Show
Ignore:
Timestamp:
03/12/06 12:03:19
Author:
ben
Message:

Comments.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openpgpsdk/trunk/src/packet-show.c

    r384 r401  
    312312    } 
    313313 
     314// XXX: should this (and many others) be ops_boolean_t? 
    314315/*! generic function which adds text derived from single octet map to text */ 
    315316static unsigned int add_str_from_octet_map(ops_text_t *text,char *str, 
     
    325326        { 
    326327        /* value not recognised and there was a problem adding it to the unknown list */ 
    327  
    328328        str=malloc(2+2+1); /* 2 for "0x", 2 for single octet in hex format, 1 for NULL */ 
    329329        sprintf(str,"0x%x",octet); 
     
    348348        { 
    349349        /* value not recognised and there was a problem adding it to the unknown list */ 
    350  
    351350        /* 2 chars of the string are the format definition,  
    352351           this will be replaced in the output by 2 chars of hex,