Merge pull request #1 from wvu-r7/pr/3479

Fix @source and prefer &&
bug/bundler_fix
HD Moore 2014-07-15 17:00:13 -04:00
commit b045e5b14a
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ class Msftidy
end end
def check_udp_sock_get def check_udp_sock_get
if @source =~ /udp_sock\.get/m and source !~ /udp_sock\.get\([a-zA-Z0-9]+/ if @source =~ /udp_sock\.get/m && @source !~ /udp_sock\.get\([a-zA-Z0-9]+/
info('Please specify a timeout to udp_sock.get') info('Please specify a timeout to udp_sock.get')
end end
end end