From 6bad38c2d50a033d8e8a19998cb062e01fe1aa72 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 21 Oct 2012 20:02:20 +0100 Subject: Removed trailing whitespace from src and tests --- src/contact_list.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/contact_list.c') diff --git a/src/contact_list.c b/src/contact_list.c index 22a52659..3724ca75 100644 --- a/src/contact_list.c +++ b/src/contact_list.c @@ -1,8 +1,8 @@ -/* +/* * contact_list.c * * Copyright (C) 2012 James Booth - * + * * 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) { -- cgit 1.4.1-2-gfad0