diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 2101b552f6..d14d2ae26c 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Tue Jun 23 14:44:02 CDT 2009 +Tue Jun 23 14:44:45 CDT 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c b/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c index 769caa407c..8f91b9724d 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c +++ b/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c @@ -3644,7 +3644,8 @@ sres_decode_msg(sres_resolver_t *res, sres_record_type(answers[0]->sr_type, b1))); rr = sres_create_error_rr(res->res_cache, query, err = SRES_RECORD_ERR); memmove(answers + 1, answers, (sizeof answers[0]) * total++); - answers[errorcount++] = rr; + answers[0] = rr; + errorcount = 1; } }