Skip to content
Snippets Groups Projects
Commit fddec0c2 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "app_voicemail: Fix test_voicemail_notify_endl test."

parents c714d000 5a0534dc
No related branches found
No related tags found
No related merge requests found
......@@ -14456,11 +14456,13 @@ AST_TEST_DEFINE(test_voicemail_notify_endl)
rewind(file);
while (fgets(buf, sizeof(buf), file)) {
if (
(strlen(buf) > 1 &&
#ifdef IMAP_STORAGE
buf[strlen(buf) - 2] != '\r'
#else
buf[strlen(buf) - 2] == '\r'
#endif
)
|| buf[strlen(buf) - 1] != '\n') {
res = AST_TEST_FAIL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment