Revision 2e679780 libcacard/vcard_emul_nss.c

b/libcacard/vcard_emul_nss.c
1169 1169
            NEXT_TOKEN(vname)
1170 1170
            NEXT_TOKEN(type_params)
1171 1171
            type_params_length = MIN(type_params_length, sizeof(type_str)-1);
1172
            strncpy(type_str, type_params, type_params_length);
1173
            type_str[type_params_length] = 0;
1172
            pstrcpy(type_str, type_params_length, type_params);
1174 1173
            type = vcard_emul_type_from_string(type_str);
1175 1174

  
1176 1175
            NEXT_TOKEN(type_params)

Also available in: Unified diff