Patch - DISABLE_CONTACT_SVC_NOTIFICATIONS

wnd at gmx.net wnd at gmx.net
Mon May 5 21:35:48 CEST 2008


The external command DISABLE_CONTACT_SVC_NOTIFICATIONS doesn't work due to the same error as mentioned in the patch for DISABLE_CONTACTGROUP_SVC_NOTIFICATIONS by Mathieu Gagné a few days ago. Below a patch which should solve the problem.

Wolfgang

diff -u commands.c.orig commands.c
--- commands.c.orig     2007-11-10 23:54:36.000000000 +0100
+++ commands.c  2008-05-05 21:24:38.000000000 +0200
@@ -3770,7 +3770,7 @@
        unsigned long attr=MODATTR_NOTIFICATIONS_ENABLED;

        /* no change */
-       if(cntct->service_notifications_enabled==TRUE)
+       if(cntct->service_notifications_enabled==FALSE)
                return;

        /* set the attribute modified flag */
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone




More information about the Developers mailing list