diff options
Diffstat (limited to 'unit/util.h')
-rw-r--r-- | unit/util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unit/util.h b/unit/util.h index 6783c524e..b13fd2f16 100644 --- a/unit/util.h +++ b/unit/util.h @@ -19,6 +19,8 @@ * */ +#define TEST_BUF_MAX 5 + enum { TEST_ERROR_TIMEOUT, TEST_ERROR_UNEXPECTED, @@ -32,8 +34,8 @@ struct test_buf { struct test_data { guint count; GError *err; - struct test_buf recv[4]; - struct test_buf send[4]; + struct test_buf recv[TEST_BUF_MAX]; + struct test_buf send[TEST_BUF_MAX]; guint provide_delay; GObex *obex; guint id; |