mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 18:16:22 +00:00
chore: Add copyright header to C files who had none
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/*
|
||||
* test_rooms.c
|
||||
*
|
||||
* Copyright (C) 2015 - 2018 James Booth <boothj5@gmail.com>
|
||||
* Copyright (C) 2026 - 2026 Michael Vetter <jubalh@iodoru.org>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
#include <glib.h>
|
||||
#include "prof_cmocka.h"
|
||||
#include <stdlib.h>
|
||||
@@ -11,12 +19,12 @@ void
|
||||
rooms_query(void** state)
|
||||
{
|
||||
stbbr_for_query("http://jabber.org/protocol/disco#items",
|
||||
"<iq id='*' type='result' to='stabber@localhost/profanity' from='conference.localhost'>"
|
||||
"<query xmlns='http://jabber.org/protocol/disco#items'>"
|
||||
"<item jid='chatroom@conference.localhost' name='A chat room'/>"
|
||||
"<item jid='hangout@conference.localhost' name='Another chat room'/>"
|
||||
"</query>"
|
||||
"</iq>");
|
||||
"<iq id='*' type='result' to='stabber@localhost/profanity' from='conference.localhost'>"
|
||||
"<query xmlns='http://jabber.org/protocol/disco#items'>"
|
||||
"<item jid='chatroom@conference.localhost' name='A chat room'/>"
|
||||
"<item jid='hangout@conference.localhost' name='Another chat room'/>"
|
||||
"</query>"
|
||||
"</iq>");
|
||||
|
||||
prof_connect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user