Mercurial > pidgin
annotate plugins/crazychat/main.c @ 13998:4fa4f2909b0d
[gaim-migrate @ 16583]
Fix a crash when gadu-gadu signs off while a search is still open. It destroys its search HashTable in its close() function, and that table is accessed when gaim_notify_close_with_handle() is called. An alternative fix would be for the close_with_handle() functions to be called before prpl_info->close() in connection.c, but I'm not positive that this wouldn't cause problems with other prpls, so I went for a smaller-impact change. I'll merge this back to the 2.0.0 branch if there are no objections.
committer: Tailor Script <tailor@pidgin.im>
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Thu, 27 Jul 2006 17:37:42 +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 } |
