summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-hangup_hang
blob: 22e09d6a1be78e92bc9f3c4c0b01b4c161560fc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: main/channel.c
===================================================================
--- main/channel.c	(revision 188244)
+++ main/channel.c	(working copy)
@@ -2038,13 +2038,13 @@
 			return &ast_null_frame;
 		usleep(1);
 	}
-
+/*
 	if (chan->fdno == -1) {
 		ast_log(LOG_ERROR, "ast_read() called with no recorded file descriptor.\n");
 		f = &ast_null_frame;
 		goto done;
 	}
-
+*/
 	if (chan->masq) {
 		if (ast_do_masquerade(chan))
 			ast_log(LOG_WARNING, "Failed to perform masquerade\n");