Fossil SCM
added missing return type in login_basic_authentication() definition.
Commit
fd928b6ef9a3f9686ae403c1131005c1f04790e8bc83c75a912528185fe70e26
Parent
2e76b99f5ce5301…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -852,11 +852,11 @@ | ||
| 852 | 852 | |
| 853 | 853 | /* |
| 854 | 854 | ** Attempt to use Basic Authentication to establish the user. Return the |
| 855 | 855 | ** (non-zero) uid if successful. Return 0 if it does not work. |
| 856 | 856 | */ |
| 857 | -static logic_basic_authentication(const char *zIpAddr){ | |
| 857 | +static int logic_basic_authentication(const char *zIpAddr){ | |
| 858 | 858 | const char *zAuth = PD("HTTP_AUTHORIZATION", 0); |
| 859 | 859 | int i; |
| 860 | 860 | int uid = 0; |
| 861 | 861 | int nDecode = 0; |
| 862 | 862 | char *zDecode = 0; |
| 863 | 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 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 |