Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix harmless compiler warnings. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
50daa540f8881cb022600fefcba3f20f |
User & Date: | drh 2018-06-30 15:40:19.602 |
Context
2018-07-03
| ||
10:23 | Only add the default <body> element to the header if the configured header lacks "<body". Formerly, it searched for "<body>" and that search would fail if the body element contained attributes. ToDo: This default body-element mechanism needs to be better documented. ... (check-in: 24ecb3bb user: drh tags: trunk) | |
2018-06-30
| ||
16:06 | Merge fixes and improvements from trunk. ... (check-in: 4f30802a user: drh tags: smtp) | |
15:40 | Fix harmless compiler warnings. ... (check-in: 50daa540 user: drh tags: trunk) | |
15:37 | Improve the conformance to rfc2822 for generated email messages. ... (check-in: 429ae9b7 user: drh tags: trunk) | |
Changes
Changes to src/email.c.
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ******************************************************************************* ** ** Email notification features */ #include "config.h" #include "email.h" #include <assert.h> /* ** Maximum size of the subscriberCode blob, in bytes */ #define SUBSCRIBER_CODE_SZ 32 /* | > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ******************************************************************************* ** ** Email notification features */ #include "config.h" #include "email.h" #include <assert.h> #include <time.h> /* ** Maximum size of the subscriberCode blob, in bytes */ #define SUBSCRIBER_CODE_SZ 32 /* |
︙ | ︙ | |||
522 523 524 525 526 527 528 | ** ** The caller maintains ownership of the input Blobs. This routine will ** read the Blobs and send them onward to the email system, but it will ** not free them. */ void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){ Blob all, *pOut; | < | 523 524 525 526 527 528 529 530 531 532 533 534 535 536 | ** ** The caller maintains ownership of the input Blobs. This routine will ** read the Blobs and send them onward to the email system, but it will ** not free them. */ void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){ Blob all, *pOut; u64 r1, r2; if( fossil_strcmp(p->zDest, "off")==0 ){ return; } if( fossil_strcmp(p->zDest, "blob")==0 ){ pOut = &p->out; if( blob_size(pOut) ){ |
︙ | ︙ |