SoftwareVersion: adapt to new software version format

This commit is contained in:
Sukru Senli 2018-04-13 13:25:47 +02:00
parent 723756d5cd
commit cb681f6195
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ char *get_softwareversion()
db_get_value_string("hw", "board", "iopVersion", &v);
tmp = dmstrdup(v);// MEM WILL BE FREED IN DMMEMCLEAN
val = cut_fx(tmp, delimiter, 2);
val = cut_fx(tmp, delimiter, 1);
return val;
}

View file

@ -97,7 +97,7 @@ int upnp_deviceinfo_get_software_version(char *refparam, struct dmctx *ctx, void
return 0;
}
tmp = dmstrdup(v);// MEM WILL BE FREED IN DMMEMCLEAN
*value = cut_fx(tmp, delimiter, 2);
*value = cut_fx(tmp, delimiter, 1);
return 0;
}