Skip to content

Commit

Permalink
Merge pull request #277 from SR4ven/win_py36_fix
Browse files Browse the repository at this point in the history
Fixed type error on py36 under Windows
  • Loading branch information
jtpereyda authored May 22, 2019
2 parents 4e89dba + 0018f06 commit 3f2a478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boofuzz/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def get_max_udp_size():
if windows:
sol_socket = ctypes.c_int(0xffff)
sol_max_msg_size = 0x2003
lib = ctypes.WinDLL('Ws2_32.dll'.encode('ascii'))
lib = ctypes.WinDLL("Ws2_32.dll")
opt = ctypes.c_int(sol_max_msg_size)
elif linux or mac or openbsd:
if mac:
Expand Down

0 comments on commit 3f2a478

Please sign in to comment.