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

« back to all changes in this revision

Viewing changes to src/fe-common/fe-stanzas.c

  • Committer: Bazaar Package Importer
  • Author(s): David Ammouial
  • Date: 2010-07-06 15:14:51 UTC
  • mfrom: (2.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100706151451-tyil9o1evi8ydutr
Tags: 0.51+cvs20100627-1
* New upstream release + CVS snapshot (Closes: #588163).
  - Prompt for a password if none was provided in the configuration
    (Closes: #580659).
  - Don't segfault upon reception of a ping without "from" field.
    (Closes: #521227).
  - Various bugfixes and improvements.
* Provide a package with debugging symbols (Closes: #580658).
* Bump Standards-Version to 3.8.4 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: fe-stanzas.c,v 1.2 2009/06/17 17:20:48 cdidier Exp $
 
2
 * $Id: fe-stanzas.c,v 1.3 2010/06/10 08:20:17 cdidier Exp $
3
3
 *
4
4
 * Copyright (C) 2007 Colin DIDIER
5
5
 *
79
79
        g_return_if_fail(IS_XMPP_SERVER(server));
80
80
        g_return_if_fail(msg != NULL);
81
81
        if ((window = get_console(server)) != NULL) {
82
 
                len = g_strdup_printf("%lu", strlen(msg));
 
82
                len = g_strdup_printf("%lu", (unsigned long)strlen(msg));
83
83
                printformat_module_window(MODULE_NAME, window, MSGLEVEL_CRAP,
84
84
                    XMPPTXT_RAW_OUT_HEADER, len);
85
85
                g_free(len);