(parseid): Switch id encoding from base 16 to base 36. This gives us
another 20 single digit ids before we have to risk breaking clients by going to multiple digits.
This commit is contained in:
parent
63a88dbb1d
commit
c87f824253
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ parseid(char *line)
|
|||
char *end;
|
||||
long id;
|
||||
|
||||
id = strtol(line, &end, 16);
|
||||
id = strtol(line, &end, 36);
|
||||
if (end == line || *end != ' ') {
|
||||
fprintf(stderr, "Malformed id in line %s", line);
|
||||
id = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue