mirror of https://github.com/skeeto/enchive.git
Replace magic value with already defined constant.
parent
09e8ec6f8d
commit
8ca7eb3428
|
@ -916,7 +916,7 @@ static const char command_names[][8] = {
|
||||||
static enum command
|
static enum command
|
||||||
parse_command(char *command)
|
parse_command(char *command)
|
||||||
{
|
{
|
||||||
int found = -2;
|
int found = COMMAND_UNKNOWN;
|
||||||
size_t len = strlen(command);
|
size_t len = strlen(command);
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 4; i++) {
|
||||||
|
|
Loading…
Reference in New Issue