about summary refs log tree commit diff stats
path: root/src/contact_list.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-21 20:02:20 +0100
committerJames Booth <boothj5@gmail.com>2012-10-21 20:02:20 +0100
commit6bad38c2d50a033d8e8a19998cb062e01fe1aa72 (patch)
tree781461a7d79b6fce56f5ee7f0a012e814cf8771f /src/contact_list.c
parent382e961563eb9e4d31d3ad111a41569b7fa78fa6 (diff)
downloadprofani-tty-6bad38c2d50a033d8e8a19998cb062e01fe1aa72.tar.gz
Removed trailing whitespace from src and tests
Diffstat (limited to 'src/contact_list.c')
-rw-r--r--src/contact_list.c10
1 files changed, 5 insertions, 5 deletions
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 <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) {