while (*inp != '\0') {
if (*inp == '=') {
- if (inp[1] && inp[2] && inp[1] == '0' && inp[2] == '0')
+ if (inp[1] && inp[2] && inp[1] == '0' && inp[2] == '0') {
inp += 3;
- else if (inp[1] && inp[2] &&
+ continue;
+ } else if (inp[1] && inp[2] &&
get_hex_value((guchar *)outp, inp[1], inp[2])
== TRUE) {
inp += 3;
while (*inp != '\0' && avail > 0) {
if (*inp == '=') {
- if (inp[1] && inp[2] && inp[1] == '0' && inp[2] == '0')
+ if (inp[1] && inp[2] && inp[1] == '0' && inp[2] == '0') {
inp += 3;
- else if (inp[1] && inp[2] &&
+ continue;
+ } else if (inp[1] && inp[2] &&
get_hex_value((guchar *)outp, inp[1], inp[2])
== TRUE) {
inp += 3;
while (inp - in < inlen && *inp != '\0') {
if (*inp == '=' && inp + 3 - in <= inlen) {
- if (inp[1] == '0' && inp[2] == '0')
+ if (inp[1] && inp[2] && inp[1] == '0' && inp[2] == '0') {
inp += 3;
- else if (get_hex_value(outp, inp[1], inp[2]) == TRUE) {
+ continue;
+ } else if (get_hex_value(outp, inp[1], inp[2]) == TRUE) {
inp += 3;
} else {
*outp = *inp++;