diff options
Diffstat (limited to 'src/pinger.c')
-rw-r--r-- | src/pinger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinger.c b/src/pinger.c index 53fedfa..370d5d1 100644 --- a/src/pinger.c +++ b/src/pinger.c | |||
@@ -943,7 +943,7 @@ check_host(char const *name) | |||
943 | } | 943 | } |
944 | found = 0; | 944 | found = 0; |
945 | for (uent = update_head; uent; uent = uent->next) { | 945 | for (uent = update_head; uent; uent = uent->next) { |
946 | switch (update_head->type) { | 946 | switch (uent->type) { |
947 | case UPDATE_APPEND: | 947 | case UPDATE_APPEND: |
948 | case UPDATE_REPLACE: | 948 | case UPDATE_REPLACE: |
949 | for (hp = uent->v.hlist->head; hp; hp = hp->next) { | 949 | for (hp = uent->v.hlist->head; hp; hp = hp->next) { |