From: Markus Armbruster Date: Sat, 15 Dec 2007 06:52:50 +0000 (+0000) Subject: (parseid): Switch id encoding from base 16 to base 36. This gives us X-Git-Tag: v4.3.11~21 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=c87f824253fbe6b6151dbc27f9b99183ac76e6a0 (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. --- diff --git a/src/client/expect.c b/src/client/expect.c index 4d29a5369..e3aa3d413 100644 --- a/src/client/expect.c +++ b/src/client/expect.c @@ -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;