Skip to content

Commit

Permalink
return len not count
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 26, 2023
1 parent 82ff940 commit 28b2a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/ziti-echo-server/ziti-echo-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def run(ziti_id, service):
break
count += len(data)
conn.sendall(data)
print(f'received data from client. returning {count} bytes of data now...')
print(f'received data from client. returning {len(data)} bytes of data now...')


if __name__ == '__main__':
Expand Down

0 comments on commit 28b2a05

Please sign in to comment.