Fix a bug introduced by 1.6. The 'cp' pointer was being incremented twice
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 10 Aug 2005 00:43:37 +0000 (00:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 10 Aug 2005 00:43:37 +0000 (00:43 +0000)
commit592333c384f3beb38d349ba15f4fe3b26606f2f1
tree11f849983607eb4db735b60275c5edec4db2b993
parentf73e4a930a34c7e7bdff47ac0014de1e1e6e77a4
Fix a bug introduced by 1.6.  The 'cp' pointer was being incremented twice
in getanswer() for each NS_GET*() call because the new macro used already does
an increment.  This prevented sendmail (and any program using the res_query
mechanism) from operating properly.
lib/libc/net/name6.c