Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix harmless compiler warning. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
014bb2d7debc98e594df94668ed8f658 |
User & Date: | mistachkin 2018-08-07 21:44:02 |
Context
2018-08-07
| ||
21:45 | In the backoffice module, use GETPID macro consistently, fix compiler warning with MinGW, and add an assert(). check-in: af87fa5b user: mistachkin tags: trunk | |
21:44 | Fix harmless compiler warning. check-in: 014bb2d7 user: mistachkin tags: trunk | |
21:43 | Fix error when compiling with JSON support enabled (TODO: review semantics to preserve JSON error handling). check-in: f430f623 user: mistachkin tags: trunk | |
Changes
Changes to src/login.c.
1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
void register_page(void){ const char *zUserID, *zPasswd, *zConfirm, *zEAddr; const char *zDName; unsigned int uSeed; const char *zDecoded; char *zCaptcha; int iErrLine = -1; const char *zErr; if( !db_get_boolean("self-register", 0) ){ style_header("Registration not possible"); @ <p>This project does not allow user self-registration. Please contact the @ project administrator to obtain an account.</p> style_footer(); return; } |
| |
1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
void register_page(void){
const char *zUserID, *zPasswd, *zConfirm, *zEAddr;
const char *zDName;
unsigned int uSeed;
const char *zDecoded;
char *zCaptcha;
int iErrLine = -1;
const char *zErr = 0;
if( !db_get_boolean("self-register", 0) ){
style_header("Registration not possible");
@ <p>This project does not allow user self-registration. Please contact the
@ project administrator to obtain an account.</p>
style_footer();
return;
}
|