Skip to content

Commit

Permalink
Merge pull request shadowsocks#388 from cicku/patch-1
Browse files Browse the repository at this point in the history
PEP8 indent
  • Loading branch information
clowwindy committed Jul 27, 2015
2 parents 1bb0e51 + 2555aa8 commit d95e5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadowsocks/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def parse_header(data):
if len(data) >= 2 + addrlen:
dest_addr = data[2:2 + addrlen]
dest_port = struct.unpack('>H', data[2 + addrlen:4 +
addrlen])[0]
addrlen])[0]
header_length = 4 + addrlen
else:
logging.warn('header is too short')
Expand Down

0 comments on commit d95e5ce

Please sign in to comment.