Mercurial > pidgin
comparison plugins/irc.c @ 1864:5cb89cf24f45
[gaim-migrate @ 1874]
hi there
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 20 May 2001 02:10:34 +0000 |
| parents | e246a4bd1141 |
| children | 466fc4ada7cb |
comparison
equal
deleted
inserted
replaced
| 1863:bf2434d36e54 | 1864:5cb89cf24f45 |
|---|---|
| 34 #include <stdlib.h> | 34 #include <stdlib.h> |
| 35 #include <stdio.h> | 35 #include <stdio.h> |
| 36 #include <time.h> | 36 #include <time.h> |
| 37 #include <sys/socket.h> | 37 #include <sys/socket.h> |
| 38 #include <sys/stat.h> | 38 #include <sys/stat.h> |
| 39 #include <ctype.h> | |
| 39 #include "multi.h" | 40 #include "multi.h" |
| 40 #include "prpl.h" | 41 #include "prpl.h" |
| 41 #include "gaim.h" | 42 #include "gaim.h" |
| 42 #include "proxy.h" | 43 #include "proxy.h" |
| 43 | 44 |
| 1860 user->proto_opt[USEROPT_PORT][0] ? atoi(user->proto_opt[USEROPT_PORT]) : 6667, | 1861 user->proto_opt[USEROPT_PORT][0] ? atoi(user->proto_opt[USEROPT_PORT]) : 6667, |
| 1861 user->proto_opt[USEROPT_PROXYSERV], atoi(user->proto_opt[USEROPT_PROXYPORT]), | 1862 user->proto_opt[USEROPT_PROXYSERV], atoi(user->proto_opt[USEROPT_PROXYPORT]), |
| 1862 atoi(user->proto_opt[USEROPT_PROXYTYPE]), | 1863 atoi(user->proto_opt[USEROPT_PROXYTYPE]), |
| 1863 user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS], | 1864 user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS], |
| 1864 irc_login_callback, gc); | 1865 irc_login_callback, gc); |
| 1865 if (idata->fd < 0) { | 1866 if (user->gc && (idata->fd < 0)) { |
| 1866 hide_login_progress(gc, "Unable to create socket"); | 1867 hide_login_progress(gc, "Unable to create socket"); |
| 1867 signoff(gc); | 1868 signoff(gc); |
| 1868 return; | 1869 return; |
| 1869 } | 1870 } |
| 1870 } | 1871 } |
