japazilian / multitype

Automatically exported from code.google.com/p/multitype
0 stars 0 forks source link

Server debug message connected user off by one #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect a client to the server
2. UI prompts with dialog with userid (ie, user 0)

What is the expected output? What do you see instead?

Server prints "Sent user id = 1"

Should read "Send user id = 0"

Original issue reported on code.google.com by rvmille...@gmail.com on 29 Mar 2011 at 1:49

GoogleCodeExporter commented 9 years ago
Fixed. 

You were incrementing the counter before printing.

Original comment by rharagut...@gmail.com on 29 Mar 2011 at 2:38