Rev 4169 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4169 | Rev 5625 | ||
---|---|---|---|
Line 207... | Line 207... | ||
207 | } |
207 | } |
Line 208... | Line 208... | ||
208 | 208 | ||
209 | 209 | ||
210 | void GetSettings() |
210 | void GetSettings() |
211 | { |
211 | { |
Line 212... | Line 212... | ||
212 | int at_pos = strchr(#email_text,'@'); |
212 | strcpy(#login, #email_text); |
213 | strlcpy(#login, #email_text, at_pos-1); |
213 | ESBYTE[strchr(#login,'@')] = NULL; |
214 | 214 | ||
215 | if (checked[CUSTOM]) |
215 | if (checked[CUSTOM]) |
216 | { |
216 | { |
217 | strcpy(#POP_server_path, "pop."); |
217 | strcpy(#POP_server_path, "pop."); |
218 | strcat(#POP_server_path, #email_text+at_pos); |
218 | strcat(#POP_server_path, strchr(#email_text,'@')+1); |
219 | POP_server_port = DEFAULT_POP_PORT; |
219 | POP_server_port = DEFAULT_POP_PORT; |
220 | } |
220 | } |