Skip to content

Commit b045e5b

Browse files
author
HD Moore
committed
Merge pull request #1 from wvu-r7/pr/3479
Fix @source and prefer &&
2 parents 4bff68f + 4904426 commit b045e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def check_sock_get
536536
end
537537

538538
def check_udp_sock_get
539-
if @source =~ /udp_sock\.get/m and source !~ /udp_sock\.get\([a-zA-Z0-9]+/
539+
if @source =~ /udp_sock\.get/m && @source !~ /udp_sock\.get\([a-zA-Z0-9]+/
540540
info('Please specify a timeout to udp_sock.get')
541541
end
542542
end

0 commit comments

Comments
 (0)