Commit c3b2bd05 authored by Pekka Pessi's avatar Pekka Pessi

Use "_" instead of "+" in token64_e().

darcs-hash:20060322004735-65a35-0794c9458deda15e8f9d30db3dfc1e1325f41a40.gz
parent 47454790
...@@ -39,12 +39,12 @@ ...@@ -39,12 +39,12 @@
#include "sofia-sip/token64.h" #include "sofia-sip/token64.h"
static const char code[64] = static const char code[64] =
"0123456789-abcdefghijklmnopqrstuvwxyz+ABCDEFGHIJKLMNOPQRSTUVWXYZ"; "0123456789-abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ";
/** Encode data as an http token. /** Encode data as an http token.
* *
* @deprecated * @note
* Note that a token is case-independent, so this is really not a good idea. * A token is case-independent, so this is really not a good idea.
* Use msg_random_token() instead. * Use msg_random_token() instead.
*/ */
int token64_e(char b[], int bsiz, void const *data, int dlen) int token64_e(char b[], int bsiz, void const *data, int dlen)
......
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