diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 77fa75af..f3f6a9b4 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2112,9 +2112,6 @@ static void ecc_g2_read_cb(int ok, int total_length, int record, g_strdup(en)); } - if (vc->new_en_list == NULL) - return; - set_new_ecc(vc); } @@ -2147,7 +2144,7 @@ static void ecc_g3_read_cb(int ok, int total_length, int record, return; check: - if (vc->new_en_list == NULL) + if (!ok && vc->new_en_list == NULL) return; set_new_ecc(vc); |