mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 00:46:21 +00:00
Removed trailing whitespace from src and tests
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
/*
|
||||
* contact_list.c
|
||||
*
|
||||
* Copyright (C) 2012 James Booth <boothj5@gmail.com>
|
||||
*
|
||||
*
|
||||
* This file is part of Profanity.
|
||||
*
|
||||
* Profanity is free software: you can redistribute it and/or modify
|
||||
@@ -30,7 +30,7 @@ static PAutocomplete ac;
|
||||
void
|
||||
contact_list_init(void)
|
||||
{
|
||||
ac = p_obj_autocomplete_new((PStrFunc)p_contact_name,
|
||||
ac = p_obj_autocomplete_new((PStrFunc)p_contact_name,
|
||||
(PCopyFunc)p_contact_copy,
|
||||
(PEqualDeepFunc)p_contacts_equal_deep,
|
||||
(GDestroyNotify)p_contact_free);
|
||||
@@ -55,7 +55,7 @@ contact_list_remove(const char * const name)
|
||||
}
|
||||
|
||||
gboolean
|
||||
contact_list_add(const char * const name, const char * const show,
|
||||
contact_list_add(const char * const name, const char * const show,
|
||||
const char * const status)
|
||||
{
|
||||
return p_autocomplete_add(ac, p_contact_new(name, show, status));
|
||||
@@ -77,7 +77,7 @@ PContact
|
||||
contact_list_get_contact(const char const *jid)
|
||||
{
|
||||
GSList *contacts = get_contact_list();
|
||||
|
||||
|
||||
while (contacts != NULL) {
|
||||
PContact contact = contacts->data;
|
||||
if (strcmp(p_contact_name(contact), jid) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user