Guest User

Untitled

a guest
Sep 8th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. LINE 25130:
  2. strtok(const string[], &index)
  3. {
  4. new length = strlen(string);
  5. while ((index < length) && (string[index] <= ' '))
  6. {
  7. index++;
  8. }
  9.  
  10. new offset = index;
  11. new result[20];
  12. while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  13. {
  14. result[index - offset] = string[index];
  15. index++;
  16. }
  17. result[index - offset] = EOS;
  18. return result;
  19. }
  20.  
  21. LINE 26655:
  22. cmd = strtok(cmdtext, idx);
  23. LINE 26715:
  24. tmp = strtok(cmdtext, idx);
  25. LINE 26768:
  26. tmp = strtok(cmdtext, idx);
  27. LINE 27436:
  28. tmp = strtok(cmdtext, idx);
  29. LINE 27495:
  30. tmp = strtok(cmdtext, idx);
  31. ALL OTHER LINE ARE THE SAME WITH THESE ABOVE.
Advertisement
Add Comment
Please, Sign In to add comment