- Many fixes to the four circle codes during taking the new code into
operation. - Fixed some missing output - Second generation histogram memory and velocity selector objects - Fixed a problem in diffscan
This commit is contained in:
@ -428,6 +428,8 @@ static int MakeAliasNode(pHdb parent, char *name, SConnection *pCon,
|
||||
{
|
||||
hdbValue v;
|
||||
pHdb targetNode = NULL, child = NULL;
|
||||
char value[512];
|
||||
const char *key;
|
||||
|
||||
if(argc < 4){
|
||||
SCWrite(pCon,"ERROR: hdbfactory alias needs 4 arguments, not enough supplied",
|
||||
@ -456,7 +458,14 @@ static int MakeAliasNode(pHdb parent, char *name, SConnection *pCon,
|
||||
AppendHipadabaCallback(targetNode,
|
||||
MakeHipadabaCallback(AliasTargetCallback,
|
||||
strdup(argv[1]),free));
|
||||
|
||||
/*
|
||||
* copy properties
|
||||
*/
|
||||
InitHdbPropertySearch(targetNode);
|
||||
while((key = GetNextHdbProperty(targetNode, value, 512)) != NULL){
|
||||
SetHdbProperty(child,(char *)key,value);
|
||||
}
|
||||
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user