version 1.3, 2009/12/15 04:32:36
|
version 1.4, 2011/05/23 17:17:39
|
Line 245 static int ValidateSeries(DRMS_Env_t *dr |
|
Line 245 static int ValidateSeries(DRMS_Env_t *dr |
|
/* Ensure out series is compatible with in series. */ | /* Ensure out series is compatible with in series. */ |
/* Ensure the prime keywords and at least one segment match, | /* Ensure the prime keywords and at least one segment match, |
* and return a list of matching segments */ | * and return a list of matching segments */ |
XASSERT((*matchSegNames = (HContainer_t *)malloc(sizeof(HContainer_t))) != NULL); |
*matchSegNames = (HContainer_t *)malloc(sizeof(HContainer_t)); |
|
XASSERT(*matchSegNames != NULL); |
int nMatch = 0; | int nMatch = 0; |
int compat = drms_series_checkrecordcompat(drms_env, | int compat = drms_series_checkrecordcompat(drms_env, |
outSeriesName, | outSeriesName, |