Fossil SCM
Fix typos in two function names. No functional changes.
Commit
d425d2394fe9956c5b1e0fbc1581b982f779e84fc0eb8335e277e20bcd3ef340
Parent
e2bdc10572c5106…
2 files changed
+2
-2
+1
-1
+2
-2
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -1957,11 +1957,11 @@ | ||
| 1957 | 1957 | /* |
| 1958 | 1958 | ** Check to see if the candidate username zUserID is already used. |
| 1959 | 1959 | ** Return 1 if it is already in use. Return 0 if the name is |
| 1960 | 1960 | ** available for a self-registration. |
| 1961 | 1961 | */ |
| 1962 | -static int login_self_choosen_userid_already_exists(const char *zUserID){ | |
| 1962 | +static int login_self_chosen_userid_already_exists(const char *zUserID){ | |
| 1963 | 1963 | int rc = db_exists( |
| 1964 | 1964 | "SELECT 1 FROM user WHERE login=%Q " |
| 1965 | 1965 | "UNION ALL " |
| 1966 | 1966 | "SELECT 1 FROM event WHERE user=%Q OR euser=%Q", |
| 1967 | 1967 | zUserID, zUserID, zUserID |
| @@ -2146,11 +2146,11 @@ | ||
| 2146 | 2146 | iErrLine = 5; |
| 2147 | 2147 | zErr = "Passwords do not match"; |
| 2148 | 2148 | }else if( (uid = email_address_in_use(zEAddr))!=0 ){ |
| 2149 | 2149 | iErrLine = 3; |
| 2150 | 2150 | zErr = "This email address is already associated with a user"; |
| 2151 | - }else if( login_self_choosen_userid_already_exists(zUserID) ){ | |
| 2151 | + }else if( login_self_chosen_userid_already_exists(zUserID) ){ | |
| 2152 | 2152 | iErrLine = 1; |
| 2153 | 2153 | zErr = "This User ID is already taken. Choose something different."; |
| 2154 | 2154 | }else{ |
| 2155 | 2155 | /* If all of the tests above have passed, that means that the submitted |
| 2156 | 2156 | ** form contains valid data and we can proceed to create the new login */ |
| 2157 | 2157 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -1957,11 +1957,11 @@ | |
| 1957 | /* |
| 1958 | ** Check to see if the candidate username zUserID is already used. |
| 1959 | ** Return 1 if it is already in use. Return 0 if the name is |
| 1960 | ** available for a self-registration. |
| 1961 | */ |
| 1962 | static int login_self_choosen_userid_already_exists(const char *zUserID){ |
| 1963 | int rc = db_exists( |
| 1964 | "SELECT 1 FROM user WHERE login=%Q " |
| 1965 | "UNION ALL " |
| 1966 | "SELECT 1 FROM event WHERE user=%Q OR euser=%Q", |
| 1967 | zUserID, zUserID, zUserID |
| @@ -2146,11 +2146,11 @@ | |
| 2146 | iErrLine = 5; |
| 2147 | zErr = "Passwords do not match"; |
| 2148 | }else if( (uid = email_address_in_use(zEAddr))!=0 ){ |
| 2149 | iErrLine = 3; |
| 2150 | zErr = "This email address is already associated with a user"; |
| 2151 | }else if( login_self_choosen_userid_already_exists(zUserID) ){ |
| 2152 | iErrLine = 1; |
| 2153 | zErr = "This User ID is already taken. Choose something different."; |
| 2154 | }else{ |
| 2155 | /* If all of the tests above have passed, that means that the submitted |
| 2156 | ** form contains valid data and we can proceed to create the new login */ |
| 2157 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -1957,11 +1957,11 @@ | |
| 1957 | /* |
| 1958 | ** Check to see if the candidate username zUserID is already used. |
| 1959 | ** Return 1 if it is already in use. Return 0 if the name is |
| 1960 | ** available for a self-registration. |
| 1961 | */ |
| 1962 | static int login_self_chosen_userid_already_exists(const char *zUserID){ |
| 1963 | int rc = db_exists( |
| 1964 | "SELECT 1 FROM user WHERE login=%Q " |
| 1965 | "UNION ALL " |
| 1966 | "SELECT 1 FROM event WHERE user=%Q OR euser=%Q", |
| 1967 | zUserID, zUserID, zUserID |
| @@ -2146,11 +2146,11 @@ | |
| 2146 | iErrLine = 5; |
| 2147 | zErr = "Passwords do not match"; |
| 2148 | }else if( (uid = email_address_in_use(zEAddr))!=0 ){ |
| 2149 | iErrLine = 3; |
| 2150 | zErr = "This email address is already associated with a user"; |
| 2151 | }else if( login_self_chosen_userid_already_exists(zUserID) ){ |
| 2152 | iErrLine = 1; |
| 2153 | zErr = "This User ID is already taken. Choose something different."; |
| 2154 | }else{ |
| 2155 | /* If all of the tests above have passed, that means that the submitted |
| 2156 | ** form contains valid data and we can proceed to create the new login */ |
| 2157 |
+1
-1
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -2215,11 +2215,11 @@ | ||
| 2215 | 2215 | ** --delta Show all delta-phantoms. A delta-phantom is a |
| 2216 | 2216 | ** artifact for which there is a delta but the delta |
| 2217 | 2217 | ** source is a phantom. |
| 2218 | 2218 | ** --list Just list the phantoms. Do not try to describe them. |
| 2219 | 2219 | */ |
| 2220 | -void test_phatoms_cmd(void){ | |
| 2220 | +void test_phantoms_cmd(void){ | |
| 2221 | 2221 | int bDelta; |
| 2222 | 2222 | int bList; |
| 2223 | 2223 | int bCount; |
| 2224 | 2224 | unsigned nPhantom = 0; |
| 2225 | 2225 | unsigned nDeltaPhantom = 0; |
| 2226 | 2226 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -2215,11 +2215,11 @@ | |
| 2215 | ** --delta Show all delta-phantoms. A delta-phantom is a |
| 2216 | ** artifact for which there is a delta but the delta |
| 2217 | ** source is a phantom. |
| 2218 | ** --list Just list the phantoms. Do not try to describe them. |
| 2219 | */ |
| 2220 | void test_phatoms_cmd(void){ |
| 2221 | int bDelta; |
| 2222 | int bList; |
| 2223 | int bCount; |
| 2224 | unsigned nPhantom = 0; |
| 2225 | unsigned nDeltaPhantom = 0; |
| 2226 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -2215,11 +2215,11 @@ | |
| 2215 | ** --delta Show all delta-phantoms. A delta-phantom is a |
| 2216 | ** artifact for which there is a delta but the delta |
| 2217 | ** source is a phantom. |
| 2218 | ** --list Just list the phantoms. Do not try to describe them. |
| 2219 | */ |
| 2220 | void test_phantoms_cmd(void){ |
| 2221 | int bDelta; |
| 2222 | int bList; |
| 2223 | int bCount; |
| 2224 | unsigned nPhantom = 0; |
| 2225 | unsigned nDeltaPhantom = 0; |
| 2226 |