svnno****@sourc*****
svnno****@sourc*****
Wed Oct 3 12:36:40 JST 2007
Revision: 3252 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3252 Author: ikezoe Date: 2007-10-03 12:36:40 +0900 (Wed, 03 Oct 2007) Log Message: ----------- fix compile error. Modified Paths: -------------- kazehakase/trunk/src/net/kz-http.c Modified: kazehakase/trunk/src/net/kz-http.c =================================================================== --- kazehakase/trunk/src/net/kz-http.c 2007-10-03 02:53:35 UTC (rev 3251) +++ kazehakase/trunk/src/net/kz-http.c 2007-10-03 03:36:40 UTC (rev 3252) @@ -1404,7 +1404,7 @@ { gchar *str, *base64; str = g_strdup_printf("%s:%s", user, pass); - base64 = g_base64_encode(str); + base64 = g_base64_encode((guchar *)str, strlen(str)); ap->string = g_strdup_printf("Basic %s", base64); g_free(str); if (base64)