comparison plugins/gaim-remote/remote.c @ 11256:bb0d7b719af2

[gaim-migrate @ 13430] I give you regex filtering in the debug window. We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter. This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 13 Aug 2005 22:09:34 +0000
parents 50224ac8184d
children 17142948653e
comparison
equal deleted inserted replaced
11255:1b1d63602d77 11256:bb0d7b719af2
768 { 768 {
769 #ifndef _WIN32 769 #ifndef _WIN32
770 GIOChannel *channel; 770 GIOChannel *channel;
771 char *buf = NULL; 771 char *buf = NULL;
772 772
773 gaim_debug_register_category("cui");
774 gaim_debug_register_category("gaim_remote_handle_uri");
775
776 if ((UI_fd = open_socket(&buf)) < 0) { 773 if ((UI_fd = open_socket(&buf)) < 0) {
777 gaim_notify_error(NULL, NULL, _("Unable to open socket"), buf); 774 gaim_notify_error(NULL, NULL, _("Unable to open socket"), buf);
778 g_free(buf); 775 g_free(buf);
779 return FALSE; 776 return FALSE;
780 } 777 }
803 g_get_tmp_dir(), g_get_user_name(), gaim_session); 800 g_get_tmp_dir(), g_get_user_name(), gaim_session);
804 801
805 g_unlink(buf); 802 g_unlink(buf);
806 803
807 gaim_debug_misc("core", "Removed core\n"); 804 gaim_debug_misc("core", "Removed core\n");
808
809 gaim_debug_unregister_category("cui");
810 gaim_debug_unregister_category("gaim_remote_handle_uri");
811 805
812 return TRUE; 806 return TRUE;
813 #else 807 #else
814 return FALSE; 808 return FALSE;
815 #endif 809 #endif