[asterisk-commits] tilghman: branch 1.6.2 r286557 - /branches/1.6.2/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 13 18:48:55 CDT 2010


Author: tilghman
Date: Mon Sep 13 18:48:51 2010
New Revision: 286557

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=286557
Log:
C precedence got me

Modified:
    branches/1.6.2/main/features.c

Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=286557&r1=286556&r2=286557
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Mon Sep 13 18:48:51 2010
@@ -3246,9 +3246,9 @@
 							continue;
 						}
 						*new_pfds = tmp;
-						new_pfds[*new_nfds]->fd = chan->fds[x];
-						new_pfds[*new_nfds]->events = POLLIN | POLLERR;
-						new_pfds[*new_nfds]->revents = 0;
+						(*new_pfds)[*new_nfds].fd = chan->fds[x];
+						(*new_pfds)[*new_nfds].events = POLLIN | POLLERR;
+						(*new_pfds)[*new_nfds].revents = 0;
 						(*new_nfds)++;
 					}
 				}




More information about the asterisk-commits mailing list