Fossil SCM

added missing return type in login_basic_authentication() definition.

stephan 2017-03-15 00:31 trunk
Commit fd928b6ef9a3f9686ae403c1131005c1f04790e8bc83c75a912528185fe70e26
1 file changed +1 -1
+1 -1
--- src/login.c
+++ src/login.c
@@ -852,11 +852,11 @@
852852
853853
/*
854854
** Attempt to use Basic Authentication to establish the user. Return the
855855
** (non-zero) uid if successful. Return 0 if it does not work.
856856
*/
857
-static logic_basic_authentication(const char *zIpAddr){
857
+static int logic_basic_authentication(const char *zIpAddr){
858858
const char *zAuth = PD("HTTP_AUTHORIZATION", 0);
859859
int i;
860860
int uid = 0;
861861
int nDecode = 0;
862862
char *zDecode = 0;
863863
--- src/login.c
+++ src/login.c
@@ -852,11 +852,11 @@
852
853 /*
854 ** Attempt to use Basic Authentication to establish the user. Return the
855 ** (non-zero) uid if successful. Return 0 if it does not work.
856 */
857 static logic_basic_authentication(const char *zIpAddr){
858 const char *zAuth = PD("HTTP_AUTHORIZATION", 0);
859 int i;
860 int uid = 0;
861 int nDecode = 0;
862 char *zDecode = 0;
863
--- src/login.c
+++ src/login.c
@@ -852,11 +852,11 @@
852
853 /*
854 ** Attempt to use Basic Authentication to establish the user. Return the
855 ** (non-zero) uid if successful. Return 0 if it does not work.
856 */
857 static int logic_basic_authentication(const char *zIpAddr){
858 const char *zAuth = PD("HTTP_AUTHORIZATION", 0);
859 int i;
860 int uid = 0;
861 int nDecode = 0;
862 char *zDecode = 0;
863

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button