summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/sms/sms_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c
index a79d4547..8e10241a 100644
--- a/tests/sms/sms_test.c
+++ b/tests/sms/sms_test.c
@@ -371,7 +371,7 @@ int main(int argc, char** argv)
memset(result, 0xaa, sizeof(result));
for (buffer_size = 1;
- buffer_size < test_encode[i].expected_septet_length + 1
+ buffer_size < test_decode[i].expected_septet_length + 1
&& buffer_size < sizeof(result) - 1;
++buffer_size)
{