… | … | ||
---|---|---|---|
413 | 413 | ||
414 | // returns true when the message needs special (read: perl) treatment | 414 | // returns true when the message needs special (read: perl) treatment |
415 | static inline bool | 415 | static inline bool |
416 | msg_is_special (const char *msg, bool nl_special = true) | 416 | msg_is_special (const char *msg, bool nl_special = true) |
417 | { | 417 | { |
418 | return msg [strcspn (msg, nl_special ? "<[&\n" : "<[&")]; | 418 | return msg [strcspn (msg, nl_special ? "<&\n" : "<&")]; |
419 | } | 419 | } |
420 | 420 | ||
421 | #endif | 421 | #endif |
422 | 422 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |