projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ソースの修正
[YACASL2.git]
/
src
/
token.c
diff --git
a/src/token.c
b/src/token.c
index
c7bfade
..
ce2a69b
100644
(file)
--- a/
src/token.c
+++ b/
src/token.c
@@
-105,7
+105,7
@@
CMDLINE *linetok(const char *line)
bool quoting = false;
CMDLINE *cmdl = NULL;
- if(
line == NULL || strlen(line) == 0
) {
+ if(
*line == '\0'
) {
return NULL;
}
tokens = strdup_chk(line, "tokens");