Changeset 129 in engine_pkcs11


Ignore:
Timestamp:
09/23/10 13:07:09 (20 months ago)
Author:
martin
Message:

Add missing braces. Thanks to Umberto Rustichelli for the report.

See  http://www.opensc-project.org/pipermail/opensc-devel/2010-September/014996.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine_pkcs11.c

    r125 r129  
    365365 
    366366        /* ... or "label_" */ 
    367         if (strncmp(slot_id + i, "label_", 6) == 0) 
     367        if (strncmp(slot_id + i, "label_", 6) == 0) { 
    368368                *slot = n; 
    369369                return (*label = strdup(slot_id + i + 6)) != NULL; 
     370        } 
    370371 
    371372        fprintf(stderr, "could not parse string!\n"); 
Note: See TracChangeset for help on using the changeset viewer.