mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
apply new formatting rules
This commit is contained in:
@@ -50,9 +50,7 @@ int conf_procbuf(char const* restrict buf, char* restrict kout, char* restrict v
|
|||||||
|
|
||||||
// no data if we didn't move from the key position
|
// no data if we didn't move from the key position
|
||||||
// syntax error if we couldn't find the equal sign
|
// syntax error if we couldn't find the equal sign
|
||||||
return (pos == kout)
|
return (pos == kout) ? CONF_ENODAT : (!feq ? CONF_ESYNTAX : 0);
|
||||||
? CONF_ENODAT
|
|
||||||
: (!feq ? CONF_ESYNTAX : 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct conf_entry const *conf_matchopt(struct conf_entry const *opts, size_t optc, char const *restrict key) {
|
struct conf_entry const *conf_matchopt(struct conf_entry const *opts, size_t optc, char const *restrict key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user