Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. if (i > xStages + xLinks + 1) {
  2.             sscanf(buffer, "%s %d %s", cmd, &num, excess);
  3.             if (strlen(excess) == 0) {
  4.                 printf("%s %d\n", cmd, num);
  5.             } else {
  6.                 printf("%s %d %s\n", cmd, num, excess);
  7.                
  8.             }
  9.             for(int t = 0; t <4; t++) {
  10.                     excess[t] = 0;
  11.             }
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement