Mercurial > pidgin
annotate plugins/crazychat/main.c @ 13153:caee920323e2
[gaim-migrate @ 15516]
We no longer send the closing of the jabber stream if we were forcibly disconnected (e.g. the Internet connection dropped and we lost our connection to the Jabber server).
For non-ssl jabber connections, this doesn't change anything. For ssl jabber connections, this prevents a possible crash if the ssl connection is now invalid... which is not a problem for the more-commonly-used Mozilla library and for GnuTLS but is a problem for OpenSSL.
committer: Tailor Script <tailor@pidgin.im>
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Tue, 07 Feb 2006 07:47:08 +0000 |
| parents | ed017b9c532d |
| children |
| rev | line source |
|---|---|
| 11218 | 1 /sw/#ifdef __APPLE_CC__ |
| 2 #include <Carbon/Carbon.h> | |
| 3 #else | |
| 4 #include <Carbon.h> | |
| 5 #endif | |
| 6 | |
| 7 | |
| 8 #include "Utilities.h" | |
| 9 #include "QTUtilities.h" | |
| 10 | |
| 11 #include "camdata.h" | |
| 12 #include "camproc.h" | |
| 13 | |
| 14 | |
| 15 #define BailErr(err) {if(err != noErr) goto bail;} | |
| 16 | |
| 17 | |
| 18 int main(void) | |
| 19 { | |
| 20 EnterMovies(); | |
| 21 CamProc(); // change this prototype-> no windows | |
| 22 fprintf(stderr, "you have just murdered 1000 people."); | |
| 23 RunApplicationEventLoop(); | |
| 24 return 0; | |
| 25 } |
