]> git.pond.sub.org Git - empserver/commitdiff
(parseid): Switch id encoding from base 16 to base 36. This gives us
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Dec 2007 06:52:50 +0000 (06:52 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Dec 2007 06:52:50 +0000 (06:52 +0000)
another 20 single digit ids before we have to risk breaking clients by
going to multiple digits.

src/client/expect.c

index 4d29a53697c212887cd61b4d9f27b86f8b5ef540..e3aa3d4139982720f5a1abfbffc9ef1e4efd17fd 100644 (file)
@@ -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;