Commit 3aec8e35 authored by Michael Jerris's avatar Michael Jerris

remove msvc warning 4295 array is too small to include a terminating null character warnings

darcs-hash:20061121074637-16063-a46bc9b0fd35497d337ef06f811cbfc5b427a351.gz
parent b99d52b7
......@@ -38,7 +38,7 @@
#include "sofia-sip/token64.h"
static const char code[64] =
static const char code[65] =
"0123456789-abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ";
/** Encode data as an http token.
......
......@@ -1766,7 +1766,7 @@ issize_t msg_random_token(char token[], isize_t tlen,
size_t i;
ssize_t n;
static char const token_chars[32] =
static char const token_chars[33] =
/* Create aesthetically pleasing raNDom capS LooK */
"aBcDeFgHjKmNpQrStUvXyZ0123456789";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment