X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=encode.c;h=b95ada80f2770b42964a3f605e023baac00008ae;hp=f7c07bf750664204ea23da2398d1bd9cff812043;hb=8fe6bb275095d03b4dc1c68edf2dd72babf56428;hpb=c63f2ff705935f89099b546d7a5431aa28cdf67a diff --git a/encode.c b/encode.c index f7c07bf7..b95ada80 100644 --- a/encode.c +++ b/encode.c @@ -1,4 +1,4 @@ -const char encode_rcs[] = "$Id: encode.c,v 1.11 2006/12/28 18:25:53 fabiankeil Exp $"; +const char encode_rcs[] = "$Id: encode.c,v 1.12 2007/08/04 10:15:51 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/encode.c,v $ @@ -33,6 +33,9 @@ const char encode_rcs[] = "$Id: encode.c,v 1.11 2006/12/28 18:25:53 fabiankeil E * * Revisions : * $Log: encode.c,v $ + * Revision 1.12 2007/08/04 10:15:51 fabiankeil + * Use strlcpy() instead of strcpy(). + * * Revision 1.11 2006/12/28 18:25:53 fabiankeil * Fixed gcc43 compiler warning. * @@ -426,7 +429,7 @@ static int xdtoi(const int d) * Returns : The integer value, or 0 for non-hex strings. * *********************************************************************/ -static int xtoi(const char *s) +int xtoi(const char *s) { int d1, d2;