Assorted bug fixes

- If SctProcessNode ran into a timeout, its action data wa sdeleted. If data came
  later, this caused SICS to crash. This is now fixed
- sget leaked connections under certain circumstances
- Cosmetic fix to hipadaba.c
- yet another chnage to the TRICS file format in fourmess.c, now it prints magnetic field
  instead of the proton count
This commit is contained in:
2015-07-30 13:57:55 +02:00
parent 950cddc8e5
commit 64d44c2824
4 changed files with 38 additions and 5 deletions

View File

@@ -1194,7 +1194,7 @@ int GetHdbProperty(pHdb node, char *key, char *value, int len)
/*---------------------------------------------------------------------------*/
char *GetHdbProp(pHdb node, char *key)
{
if (node != NULL && node->properties != NULL) {
if (node != NULL && isHdbNodeValid(node) && node->properties != NULL) {
return StringDictGetShort(node->properties, key);
} else {
return NULL;