@@ -358,7 +358,7 @@
if (newline)
*newline = '\0';
- if (strncasecmp("username", line_buf + i, 8) == 0) {
+ if (strncasecmp("user", line_buf + i, 4) == 0) {
temp_val = strchr(line_buf + i, '=');
if (temp_val) {
/* go past equals sign */
@@ -380,7 +380,7 @@
strlcpy(parsed_info->username, temp_val,
sizeof(parsed_info->username));
}
- } else if (strncasecmp("password", line_buf + i, 8) == 0) {
+ } else if (strncasecmp("pass", line_buf + i, 4) == 0) {
temp_val = strchr(line_buf + i, '=');
if (!temp_val)
continue;
@@ -388,7 +388,7 @@
i = set_password(parsed_info, temp_val);
if (i)
return i;
- } else if (strncasecmp("domain", line_buf + i, 6) == 0) {
+ } else if (strncasecmp("dom", line_buf + i, 3) == 0) {
temp_val = strchr(line_buf + i, '=');
if (temp_val) {
/* go past equals sign */