aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/log.c
blob: 86d19e1ddb76fd5403183762314fc900f7646b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 *  Jabber
 *  Copyright (C) 1998-1999 The Jabber Team http://jabber.org/
 */

#include "jabber.h"
#include "log.h"

#ifdef DEBUG

void jdebug(char *zone, const char *msgfmt, ...)
{
    va_list ap;
    static char loghdr[LOGSIZE_HDR];
    static char logmsg[LOGSIZE_TAIL];
    static int size;

    /* XXX: We may want to check the sizes eventually */
    size = g_snprintf(loghdr, LOGSIZE_HDR, "debug/%s %s\n", zone, msgfmt);

    va_start(ap, msgfmt);
    size = vsnprintf(logmsg, LOGSIZE_TAIL, loghdr, ap);

    fprintf(stderr,"%s",logmsg);

    return;
}


#endif  /* DEBUG */
s/MimesBronn/alaveteli/tree/vendor?h=hotfix/0.21.0.34&id=ac8946b96ad80762d84d1ef67bfc395ad3700124'>vendor/gems/gettext-2.1.0/samples/cgi/po/ca/hellolib.po
blob: e29f35034c3d380e34067eeaab98c0e7e4e1560b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# CGI/ERB sample for Ruby-GetText-Package.
#
# Copyright (C) 2005,2006 Masao Mutoh
#
# This file is distributed under the same license as the Ruby-GetText-Package.
#
# Ramon Salvadó <rsalvado at gnuine.com>, 2006.
#
msgid ""
msgstr ""
"Project-Id-Version: cgi-sample 1.1.1\n"
"POT-Creation-Date: 2006-01-07 14:53+0900\n"
"PO-Revision-Date: 2005-12-20 10:33+0900E\n"
"Last-Translator: Ramon Salvadó <rsalvado at gnuine.com>\n"
"Language-Team: Catalan\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: hellolib.rb:19
msgid "This message is from hellolib."
msgstr "Aquest és el missatge de hellolib."