|
|
@@ -49,6 +49,7 @@ static int ncd_read_bconnection_addr (NCDValRef val, struct BConnection_addr *ou
|
|
|
static int ncd_read_baddr (NCDValRef val, BAddr *out)
|
|
|
{
|
|
|
ASSERT(!NCDVal_IsInvalid(val))
|
|
|
+ ASSERT(NCDVal_HasOnlyContinuousStrings(val))
|
|
|
ASSERT(out)
|
|
|
|
|
|
if (!NCDVal_IsList(val)) {
|
|
|
@@ -235,6 +236,7 @@ fail:
|
|
|
static int ncd_read_bconnection_addr (NCDValRef val, struct BConnection_addr *out_addr)
|
|
|
{
|
|
|
ASSERT(!NCDVal_IsInvalid(val))
|
|
|
+ ASSERT(NCDVal_HasOnlyContinuousStrings(val))
|
|
|
|
|
|
if (!NCDVal_IsList(val)) {
|
|
|
goto fail;
|