Changeset 963 for trunk/src


Ignore:
Timestamp:
05/25/07 21:05:16 (5 years ago)
Author:
aj
Message:

indent changes only.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ct/client.c

    r944 r963  
    6767 
    6868        snprintf(file, PATH_MAX, "%d", reader); 
    69         if (! ct_format_path(path, PATH_MAX, file)) { 
     69        if (!ct_format_path(path, PATH_MAX, file)) { 
    7070                return NULL; 
    7171        } 
     
    452452} 
    453453 
    454 static void ct_args_opaque(ct_buf_t * bp, ifd_tag_t tag, const unsigned char *value, 
    455                     size_t len) 
     454static void ct_args_opaque(ct_buf_t * bp, ifd_tag_t tag, 
     455                           const unsigned char *value, size_t len) 
    456456{ 
    457457        ct_tlv_builder_t builder; 
  • trunk/src/ct/socket.c

    r945 r963  
    534534        } 
    535535 
    536 retry:   
     536      retry: 
    537537        n = read(sock->fd, ct_buf_tail(bp), count); 
    538538        if (n < 0 && errno == EINTR) 
  • trunk/src/ct/status.c

    r945 r963  
    3434        char status_path[PATH_MAX]; 
    3535 
    36         if (! ct_format_path(status_path, PATH_MAX, "status")) { 
     36        if (!ct_format_path(status_path, PATH_MAX, "status")) { 
    3737                return NULL; 
    3838        } 
    3939 
    4040        if ((fd = open(status_path, flags)) < 0) { 
    41                 ct_error("can't open %s: %s", 
    42                                 status_path, strerror(errno)); 
     41                ct_error("can't open %s: %s", status_path, strerror(errno)); 
    4342                return NULL; 
    4443        } 
     
    6564        char status_path[PATH_MAX]; 
    6665 
    67         if (! ct_format_path(status_path, PATH_MAX, "status")) { 
     66        if (!ct_format_path(status_path, PATH_MAX, "status")) { 
    6867                return -1; 
    6968        } 
     
    180179        char status_temp_path[PATH_MAX]; 
    181180 
    182         if (! ct_format_path(status_lock_path, PATH_MAX, "status.lock")) { 
     181        if (!ct_format_path(status_lock_path, PATH_MAX, "status.lock")) { 
    183182                return -1; 
    184183        } 
     
    207206        char status_lock_path[PATH_MAX]; 
    208207 
    209         if (! ct_format_path(status_lock_path, PATH_MAX, "status.lock")) { 
     208        if (!ct_format_path(status_lock_path, PATH_MAX, "status.lock")) { 
    210209                return; 
    211210        } 
  • trunk/src/pcsc/pcsc.c

    r937 r963  
    476476 
    477477RESPONSECODE IFDHControl(DWORD Lun, DWORD dwControlCode, 
    478    PUCHAR TxBuffer, DWORD TxLength, PUCHAR RxBuffer, DWORD RxLength, 
    479   PDWORD pdwBytesReturned) 
    480 { 
    481    /* FIXME */ 
     478                         PUCHAR TxBuffer, DWORD TxLength, PUCHAR RxBuffer, 
     479                         DWORD RxLength, PDWORD pdwBytesReturned) 
     480{ 
     481        /* FIXME */ 
    482482} 
    483483 
  • trunk/src/tools/openct-control.c

    r951 r963  
    175175        ifd_init(); 
    176176 
    177         typedev = malloc(strlen(type)+strlen(device)+2); 
     177        typedev = malloc(strlen(type) + strlen(device) + 2); 
    178178        if (!typedev) { 
    179179                fprintf(stderr, "out of memory\n"); 
    180180                return 1; 
    181181        } 
    182         sprintf(typedev,"%s:%s",type,device); 
    183  
    184         if (strncmp(type,driver,strlen(type)) == 0) { 
     182        sprintf(typedev, "%s:%s", type, device); 
     183 
     184        if (strncmp(type, driver, strlen(type)) == 0) { 
    185185                /* detect what kind of devide we have */ 
    186186 
     
    266266 
    267267        if (ifd_conf_node_get_string(cf, "driver", &driver) < 0) { 
    268                 ct_error("no driver specified in reader configuration for device %s", device); 
     268                ct_error 
     269                    ("no driver specified in reader configuration for device %s", 
     270                     device); 
    269271                return; 
    270272        } 
  • trunk/src/tools/openct-tool.c

    r951 r963  
    272272} 
    273273 
    274 static void do_read_memory(ct_handle * h, unsigned int address, unsigned int count) 
     274static void do_read_memory(ct_handle * h, unsigned int address, 
     275                           unsigned int count) 
    275276{ 
    276277        unsigned char buffer[8192]; 
Note: See TracChangeset for help on using the changeset viewer.