How do you talk to a friend that is dying?

On Friday, I received a call from an old friend/colleague. She did not sound right, something was off.  She told me she wished she was calling for something else and then proceeded to tell me that another friend/colleague was diagnosed with pancreatic cancer and was...