allow hex (and octal) in hardware links
Conflicts: modules/database/src/ioc/dbStatic/dbStaticLib.c
This commit is contained in:
1 parent
78684e0e57
commit
9a09436ac8
1 file changed
+1
-1
@@ -2275,7 +2275,7 @@ long dbParseLink(const char *str, short ftype, dbLinkInfo *pinfo)
|
||||
}
|
||||
|
||||
/* generalized extraction of ID character and integer pairs (eg. "#C15 S14") */
|
||||
ret = sscanf(pinfo->target, "# %c%d %c%d %c%d %c%d %c%d %c",
|
||||
ret = sscanf(pinfo->target, "# %c%i %c%i %c%i %c%i %c%i %c",
|
||||
&pinfo->hwid[0], &pinfo->hwnums[0],
|
||||
&pinfo->hwid[1], &pinfo->hwnums[1],
|
||||
&pinfo->hwid[2], &pinfo->hwnums[2],
|
||||
|
||||
Reference in new issue
Block a user