[svn-commits] branch jcollie/base64 r31022 - in /team/jcollie/base64: ./ include/asterisk/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed May 31 08:44:10 MST 2006


Author: jcollie
Date: Wed May 31 10:44:09 2006
New Revision: 31022

URL: http://svn.digium.com/view/asterisk?rev=31022&view=rev
Log:
Remove unused variable and put the right prototype into utils.h.

Modified:
    team/jcollie/base64/include/asterisk/utils.h
    team/jcollie/base64/utils.c

Modified: team/jcollie/base64/include/asterisk/utils.h
URL: http://svn.digium.com/view/asterisk/team/jcollie/base64/include/asterisk/utils.h?rev=31022&r1=31021&r2=31022&view=diff
==============================================================================
--- team/jcollie/base64/include/asterisk/utils.h (original)
+++ team/jcollie/base64/include/asterisk/utils.h Wed May 31 10:44:09 2006
@@ -157,8 +157,8 @@
 	\brief Produces SHA1 hash based on input string */
 void ast_sha1_hash(char *output, char *input);
 
+int ast_base64encode_full(char *dst, const unsigned char *src, int srclen, int max, int linebreaks);
 int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max);
-int ast_base64decode_full(unsigned char *dst, const char *src, int max, int linebreaks);
 int ast_base64decode(unsigned char *dst, const char *src, int max);
 
 /*! ast_uri_encode

Modified: team/jcollie/base64/utils.c
URL: http://svn.digium.com/view/asterisk/team/jcollie/base64/utils.c?rev=31022&r1=31021&r2=31022&view=diff
==============================================================================
--- team/jcollie/base64/utils.c (original)
+++ team/jcollie/base64/utils.c Wed May 31 10:44:09 2006
@@ -351,7 +351,6 @@
 	int col = 0;
 	unsigned int byte = 0;
 	int bits = 0;
-	int index;
 	int cntin = 0;
 	/* Reserve space for null byte at end of string */
 	max--;



More information about the svn-commits mailing list