~ubuntu-branches/ubuntu/karmic/irssi-plugin-xmpp/karmic

« back to all changes in this revision

Viewing changes to src/core/xmpp-settings.c

  • Committer: Bazaar Package Importer
  • Author(s): David Ammouial
  • Date: 2009-06-19 23:14:39 UTC
  • mfrom: (1.1.4 upstream) (2.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090619231439-xmcr03qdpzswarvi
Tags: 0.13+cvs20090617-1
* New CVS snapshot:
  - Some bugfixes and code cleanup.
  - Allow to build on ia64 (Closes: #530304).
* Bump Standards-Version to 3.8.2 (no changes). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: xmpp-settings.c,v 1.14 2008/09/04 15:39:39 cdidier Exp $
 
2
 * $Id: xmpp-settings.c,v 1.15 2009/06/03 15:59:44 cdidier Exp $
3
3
 *
4
4
 * Copyright (C) 2007 Colin DIDIER
5
5
 *
56
56
        }
57
57
        /* check validity */
58
58
        str = settings_get_str("xmpp_proxy_type");
 
59
#if 0
 
60
        /* TODO print error message */
59
61
        if (settings_get_bool("xmpp_use_proxy")
60
62
            && (str == NULL || g_ascii_strcasecmp(str, XMPP_PROXY_HTTP) != 0))
61
63
                ;
67
69
            || g_ascii_strcasecmp(str, xmpp_presence_show[XMPP_PRESENCE_XA]) != 0
68
70
            || g_ascii_strcasecmp(str, xmpp_presence_show[XMPP_PRESENCE_ONLINE]) != 0)
69
71
                ;
 
72
#endif
70
73
}
71
74
 
72
75
void