Re-indented.
This commit is contained in:
parent
3f580acc05
commit
3001fb1dc1
2 changed files with 12 additions and 12 deletions
4
misc.c
4
misc.c
|
@ -106,8 +106,8 @@ void tokenize(char* raw, long tokens[4])
|
||||||
|
|
||||||
// grab the first two words
|
// grab the first two words
|
||||||
char* words[2];
|
char* words[2];
|
||||||
words[0] = (char*) xmalloc(strlen(raw)+1);
|
words[0] = (char*) xmalloc(strlen(raw) + 1);
|
||||||
words[1] = (char*) xmalloc(strlen(raw)+1);
|
words[1] = (char*) xmalloc(strlen(raw) + 1);
|
||||||
int word_count = sscanf(raw, "%s%s", words[0], words[1]);
|
int word_count = sscanf(raw, "%s%s", words[0], words[1]);
|
||||||
|
|
||||||
// make space for substrings and zero it out
|
// make space for substrings and zero it out
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue