mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Include In-Reply-To: when sending replies: bug 78117 r=ducarroz sr=bienvenu
This commit is contained in:
parent
0cabe78b54
commit
297b98f113
@ -662,6 +662,16 @@ RRT_HEADER:
|
||||
else
|
||||
PUSH_STRING (pReference);
|
||||
PUSH_NEWLINE ();
|
||||
{
|
||||
char *trimAt = PL_strchr(pReference, '>');
|
||||
|
||||
if (trimAt) {
|
||||
trimAt++;
|
||||
PUSH_STRING ("In-Reply-To: ");
|
||||
PUSH_STRINGN (pReference, trimAt-pReference);
|
||||
PUSH_NEWLINE ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pOtherHdr && *pOtherHdr) {
|
||||
|
@ -171,6 +171,8 @@
|
||||
//
|
||||
#define PUSH_STRING(S) \
|
||||
do { PL_strcpy (buffer_tail, S); buffer_tail += PL_strlen (S); } while(0)
|
||||
#define PUSH_STRINGN(S,N) \
|
||||
do { memcpy(buffer_tail, (S), (N)); buffer_tail += (N); } while(0)
|
||||
#define PUSH_NEWLINE() \
|
||||
do { *buffer_tail++ = nsCRT::CR; *buffer_tail++ = nsCRT::LF; *buffer_tail = '\0'; } while(0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user