From: didg Date: Mon, 3 Dec 2007 11:59:26 +0000 (+0000) Subject: use the right number for num charset and max charset, from Hat X-Git-Tag: before_acls~65 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=9b080901c3bde671eeea11d96f75d4550b4473cb use the right number for num charset and max charset, from Hat --- diff --git a/include/atalk/unicode.h b/include/atalk/unicode.h index 9c2a4957..e927b5ee 100644 --- a/include/atalk/unicode.h +++ b/include/atalk/unicode.h @@ -64,7 +64,7 @@ typedef struct { /* this defines the charset types used in samba */ typedef enum {CH_UCS2=0, CH_UTF8=1, CH_MAC=2, CH_UNIX=3, CH_UTF8_MAC=4} charset_t; -#define NUM_CHARSETS 6 +#define NUM_CHARSETS 5 /* * for each charset we have a function that pulls from that charset to diff --git a/libatalk/unicode/charcnv.c b/libatalk/unicode/charcnv.c index 0071c688..f560ad08 100644 --- a/libatalk/unicode/charcnv.c +++ b/libatalk/unicode/charcnv.c @@ -66,7 +66,7 @@ */ -#define MAX_CHARSETS 10 +#define MAX_CHARSETS 20 #define CHECK_FLAGS(a,b) (((a)!=NULL) ? (*(a) & (b)) : 0 )