Skip to content

Instantly share code, notes, and snippets.

@tony1223
Created September 30, 2012 11:14
Show Gist options
  • Select an option

  • Save tony1223/3806482 to your computer and use it in GitHub Desktop.

Select an option

Save tony1223/3806482 to your computer and use it in GitHub Desktop.
strcpy(msg_buf, buf + 3);
*(msg_buf + 5) = 0;
id = atoi(msg_buf);
read_user_id(id);
record.money = atol(buf + 8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment