Rev 6678 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6678 | Rev 7244 | ||
---|---|---|---|
Line 204... | Line 204... | ||
204 | void GetSettings() |
204 | void GetSettings() |
205 | { |
205 | { |
206 | strcpy(#login, #email_text); |
206 | strcpy(#login, #email_text); |
207 | ESBYTE[strchr(#login,'@')] = NULL; |
207 | ESBYTE[strchr(#login,'@')] = NULL; |
Line 208... | Line 208... | ||
208 | 208 | ||
209 | if (checked[CUSTOM]) |
209 | if (automatic.checked) |
210 | { |
210 | { |
211 | strcpy(#POP_server_path, "pop."); |
211 | strcpy(#POP_server_path, "pop."); |
212 | strcat(#POP_server_path, strchr(#email_text,'@')+1); |
212 | strcat(#POP_server_path, strchr(#email_text,'@')+1); |
213 | POP_server_port = DEFAULT_POP_PORT; |
213 | POP_server_port = DEFAULT_POP_PORT; |
214 | } |
214 | } |
215 | if (checked[MANUAL]) |
215 | else |
216 | { |
216 | { |
217 | strcpy(#POP_server_path, #POP_server1); |
217 | strcpy(#POP_server_path, #POP_server1); |
218 | POP_server_port = atoi(#POP_server_port1); |
218 | POP_server_port = atoi(#POP_server_port1); |
219 | } |
219 | } |