Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -215,9 +215,12 @@ |
216 | 216 | $conn = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP ); |
217 | 217 | if( $conn ) { |
218 | 218 | $line = $prefix . $line; |
| 219 | + wfDebug( __METHOD__ . ": sending UDP line: $line\n" ); |
219 | 220 | socket_sendto( $conn, $line, strlen($line), 0, $address, $wgRC2UDPPort ); |
220 | 221 | socket_close( $conn ); |
221 | 222 | return true; |
| 223 | + } else { |
| 224 | + wfDebug( __METHOD__ . ": failed to create UDP socket\n" ); |
222 | 225 | } |
223 | 226 | } |
224 | 227 | return false; |