Browse Source

missed ifdef for Outlook for pEp subj

doc_update_sequoia
Krista Bennett 5 years ago
parent
commit
2d9248e70b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/pEp_internal.h

+ 4
- 0
src/pEp_internal.h View File

@ -359,10 +359,14 @@ static inline int _unsigned_signed_strcmp(const unsigned char* bytestr, const ch
// This is just a horrible example of C type madness. UTF-8 made me do it.
static inline char* _pep_subj_copy() {
#ifndef WIN32
unsigned char pepstr[] = PEP_SUBJ_STRING;
void* retval = calloc(1, sizeof(unsigned char)*PEP_SUBJ_BYTELEN + 1);
memcpy(retval, pepstr, PEP_SUBJ_BYTELEN);
return (char*)retval;
#else
return strdup("pEp");
#endif
}
// These are globals used in generating message IDs and should only be


Loading…
Cancel
Save