Searched refs:has_newline (Results 1 – 4 of 4) sorted by relevance
220 const int has_newline = (msg[strlen(msg) - 1] == '\n'); in _fail_unless() local221 fprintf(stderr, "ERROR: %s%s", msg, has_newline ? "" : "\n"); in _fail_unless()
507 int has_newline(const char *str);
712 int has_newline(const char *str) in has_newline() function
3075 if (ret && has_newline(ret)) { in wpa_config_get()3322 if (has_newline(value)) in wpa_config_set_cred()3378 has_newline(val))) { in wpa_config_set_cred()4230 if (has_newline(pos)) { in wpa_global_config_parse_str()