Fix improper characters after reading Escape code for switching extension table in SMS
[project/uqmi.git] / commands-wms.c
index 6ac52eb..b85cd70 100644 (file)
@@ -70,6 +70,7 @@ pdu_decode_7bit_char(char *dest, int len, unsigned char c, bool *escape)
        fprintf(stderr, " %02x", c);
        dest += len;
        if (*escape) {
+               *escape = false;
                switch(c) {
                case 0x0A:
                        *dest = 0x0C;