Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Initialize variable to quell compiler warning about potentially unitialized variable. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0cb83decdd196540fc6bb658634144a7 |
User & Date: | andybradford 2018-07-16 13:33:39.870 |
Context
2018-07-17
| ||
15:10 | Fix a mimetype typo that prevents email notification from running. ... (check-in: adc23c10 user: drh tags: trunk) | |
2018-07-16
| ||
13:33 | Initialize variable to quell compiler warning about potentially unitialized variable. ... (check-in: 0cb83dec user: andybradford tags: trunk) | |
2018-07-15
| ||
19:56 | Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. ... (check-in: 3f5ab717 user: drh tags: trunk) | |
Changes
Changes to src/email.c.
︙ | ︙ | |||
1036 1037 1038 1039 1040 1041 1042 | /* Check the validity of the email address. ** ** (1) Exactly one '@' character. ** (2) No other characters besides [a-zA-Z0-9._-] */ zEAddr = P("e"); if( zEAddr==0 ) return 0; | | | 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | /* Check the validity of the email address. ** ** (1) Exactly one '@' character. ** (2) No other characters besides [a-zA-Z0-9._-] */ zEAddr = P("e"); if( zEAddr==0 ) return 0; for(i=j=n=0; (c = zEAddr[i])!=0; i++){ if( c=='@' ){ n = i; j++; continue; } if( !fossil_isalnum(c) && c!='.' && c!='_' && c!='-' ){ *peErr = 1; |
︙ | ︙ |