]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Revert "libsmooth: findkey: Empty target string if key could not be found."
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 26 Nov 2012 16:30:40 +0000 (17:30 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 26 Nov 2012 16:30:40 +0000 (17:30 +0100)
This reverts commit 0add8f90ae1d5a15000147df2a86d060a2a89917.

src/install+setup/libsmooth/varval.c

index d12789097d04aac8cace0801fbcc368d0cbc15ef..9a64365af7a823f36aa060c8e3f91cb8098fbcb5 100644 (file)
@@ -151,9 +151,6 @@ int findkey(struct keyvalue *head, char *key, char *value)
                cur = cur->next;
        }
 
-       // Empty value if we could not find key.
-       value[0] = '\0';
-
        return 0;
 }