including trailing 0 byte sync
authorVolker Birk <vb@pep.foundation>
Sun, 21 Oct 2018 11:45:39 +0200
branchsync
changeset 3074680162c4b35e
parent 3073 02fe4d2cdc6f
child 3075 207b1a595665
including trailing 0 byte
src/message_api.c
     1.1 --- a/src/message_api.c	Sun Oct 21 11:42:19 2018 +0200
     1.2 +++ b/src/message_api.c	Sun Oct 21 11:45:39 2018 +0200
     1.3 @@ -433,7 +433,7 @@
     1.4      // based on
     1.5      // https://en.wikipedia.org/wiki/Base36#C_implementation
     1.6      // ok, we supposedly have a 64-bit kinda sorta random blob
     1.7 -    const char base_36_symbols[36] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
     1.8 +    const char base_36_symbols[37] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
     1.9  
    1.10      char* retbuf = calloc(bufsize, 1); 
    1.11