commit | 2b963ec268b9b2d61c55b8ac7a543ecb2ca8dbcb | [log] [tgz] |
---|---|---|
author | Holger Freyther <zecke@selfish.org> | Mon Feb 23 00:50:34 2009 +0000 |
committer | Holger Freyther <zecke@selfish.org> | Mon Feb 23 00:50:34 2009 +0000 |
tree | fd62a9ab27e01c75de5a9e57f7e01e59df7a6731 | |
parent | 8b45066d93328da30acb387c5880d916e6d1572a [diff] [blame] |
[sms] Remove hardcoded size and use the SIZE_OF trick..
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c index fe1c346..63917a0 100644 --- a/tests/sms/sms_test.c +++ b/tests/sms/sms_test.c
@@ -65,7 +65,7 @@ } }; -#define SMS_NUM 2 +#define SMS_NUM (sizeof(sms_data)/sizeof(sms_data[0])) int main(int argc, char** argv) {