Infrared observations of the 1985 outburst of RS Ophiuchi