Lines Matching defs:pos2
180 char buf[2000], *pos, *pos2;
198 pos2 = os_strchr(pos, '=');
199 if (pos2 == NULL) {
206 *pos2++ = '\0';
207 if (*pos2 == '"') {
208 if (os_strchr(pos2 + 1, '"') == NULL) {
210 "quotation '%s'.", *line, pos2);
216 if (wpa_config_set(ssid, pos, pos2, *line) < 0)
241 char buf[256], *pos, *pos2;
256 pos2 = os_strchr(pos, '=');
257 if (pos2 == NULL) {
264 *pos2++ = '\0';
265 if (*pos2 == '"') {
266 if (os_strchr(pos2 + 1, '"') == NULL) {
268 "quotation '%s'.", *line, pos2);
274 if (wpa_config_set_cred(cred, pos, pos2, *line) < 0)