Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (i > xStages + xLinks + 1) {
- sscanf(buffer, "%s %d %s", cmd, &num, excess);
- if (strlen(excess) == 0) {
- printf("%s %d\n", cmd, num);
- } else {
- printf("%s %d %s\n", cmd, num, excess);
- }
- for(int t = 0; t <4; t++) {
- excess[t] = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement