More cisco stuff added

FossilOrigin-Name: 940b3e54ef6cd3ebff77761fa19302d762feab4e0f65a4dfa365a8f98cf98c97
This commit is contained in:
7u83@mail.ru
2018-04-27 12:04:03 +00:00
parent 07f02708bb
commit 7c81c59b64
11 changed files with 176 additions and 76 deletions

View File

@ -18,7 +18,13 @@ int cw_ktv_write_struct(mavl_t ktv, const cw_KTVStruct_t * stru, const char *pke
if (stru[i].len!=-1)
memset(dst+pos,0,stru[i].len);
sprintf(key,"%s/%s",pkey,stru[i].key);
if (stru[i].key!=NULL)
sprintf(key,"%s/%s",pkey,stru[i].key);
else
sprintf(key,"%s",pkey);
result = cw_ktv_get(ktv,key,NULL);