mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merge "app_voicemail: Fix test_voicemail_notify_endl test."
This commit is contained in:
		| @@ -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; | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user