summaryrefslogtreecommitdiff
path: root/key_value_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'key_value_storage.c')
-rw-r--r--key_value_storage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/key_value_storage.c b/key_value_storage.c
index 7f4b584..05dc288 100644
--- a/key_value_storage.c
+++ b/key_value_storage.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009 Christian Pointner <equinox@spreadspace.org>
+ * Copyright (C) 2009-2013 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
@@ -48,11 +48,11 @@ int key_value_storage_add(key_value_storage_t* stor, const char* key, const char
return -1;
int ret = string_list_add(&(stor->keys_), key);
- if(ret!=0)
+ if(ret!=0)
return ret;
ret = string_list_add(&(stor->values_), value);
- if(ret!=0)
+ if(ret!=0)
return ret;
return 0;
@@ -68,7 +68,7 @@ char* key_value_storage_find(key_value_storage_t* stor, const char* key)
while(v && k) {
if(!strcmp(k->string_, key))
return v->string_;
-
+
k = k->next_;
v = v->next_;
}