equal
deleted
inserted
replaced
29 dest[0] = 0; |
29 dest[0] = 0; |
30 dest[1] = 0; |
30 dest[1] = 0; |
31 dest[2] = 0; |
31 dest[2] = 0; |
32 dest[3] = 0; |
32 dest[3] = 0; |
33 if (wctomb (dest, (*str)) == -1) |
33 if (wctomb (dest, (*str)) == -1) |
34 return -1; |
34 return EXIT_FAILURE; |
35 |
35 |
36 printf ("%lc -> [%4X] (%2X:%2X:%2X:%2X)\n", |
36 printf ("%lc -> [%4X] (%2X:%2X:%2X:%2X)\n", |
37 *str, *str, (u_char) dest[0], (u_char) dest[1], (u_char) dest[2], (u_char) dest[3]); |
37 *str, *str, (u_char) dest[0], (u_char) dest[1], (u_char) dest[2], (u_char) dest[3]); |
38 str++; |
38 str++; |
39 } |
39 } |