mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Follow-up to bug 515583 -- s/ParseFTPListDetermineRetval/ParsingFailure/
This commit is contained in:
parent
fe2e02be60
commit
a1fc11eed3
@ -46,7 +46,7 @@
|
||||
|
||||
/* ==================================================================== */
|
||||
|
||||
static inline int ParseFTPListDetermineRetval(struct list_state *state)
|
||||
static inline int ParsingFailed(struct list_state *state)
|
||||
{
|
||||
if (state->parsed_one || state->lstyle) /* junk if we fail to parse */
|
||||
return '?'; /* this time but had previously parsed successfully */
|
||||
@ -132,7 +132,7 @@ int ParseFTPList(const char *line, struct list_state *state,
|
||||
}
|
||||
|
||||
if (!numtoks)
|
||||
return ParseFTPListDetermineRetval(state);
|
||||
return ParsingFailed(state);
|
||||
|
||||
linelen_sans_wsp = &(tokens[numtoks-1][toklen[numtoks-1]]) - tokens[0];
|
||||
if (numtoks == (sizeof(tokens)/sizeof(tokens[0])) )
|
||||
@ -1700,7 +1700,7 @@ int ParseFTPList(const char *line, struct list_state *state,
|
||||
|
||||
} /* if (linelen > 0) */
|
||||
|
||||
return ParseFTPListDetermineRetval(state);
|
||||
return ParsingFailed(state);
|
||||
}
|
||||
|
||||
/* ==================================================================== */
|
||||
|
Loading…
x
Reference in New Issue
Block a user