Fix @source and prefer &&

This commit is contained in:
William Vu 2014-07-14 14:36:08 -05:00
parent 4bff68ff2b
commit 4904426164
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ class Msftidy
end
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')
end
end