|
|
@ -193,7 +193,7 @@ void _free_seqset_data(K_ITEM *item) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* Data copy functions (added here as needed)
|
|
|
|
/* Data copy functions (added here as needed)
|
|
|
|
All pointers need to initialised since DUP_POINTER will free them */ |
|
|
|
All pointers need to be initialised since DUP_POINTER will free them */ |
|
|
|
|
|
|
|
|
|
|
|
void copy_users(USERS *newu, USERS *oldu) |
|
|
|
void copy_users(USERS *newu, USERS *oldu) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -847,8 +847,11 @@ K_ITEM *_require_name(K_TREE *trf_root, char *name, int len, char *patt, |
|
|
|
regfree(&re); |
|
|
|
regfree(&re); |
|
|
|
|
|
|
|
|
|
|
|
if (ret != 0) { |
|
|
|
if (ret != 0) { |
|
|
|
LOGERR("%s(): failed, field '%s' invalid from %s():%d", |
|
|
|
char *st = NULL; |
|
|
|
__func__, name, func, line); |
|
|
|
LOGERR("%s(): failed, field '%s'='%.20s%s' invalid " |
|
|
|
|
|
|
|
"from %s():%d", |
|
|
|
|
|
|
|
__func__, name, st = safe_text_nonull(mvalue), |
|
|
|
|
|
|
|
(dlen > 20) ? "..." : EMPTY, func, line); |
|
|
|
snprintf(reply, siz, "failed.invalid %s", name); |
|
|
|
snprintf(reply, siz, "failed.invalid %s", name); |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|