Add User-Agent header to all responses
commit5bc73d7a6007db3c6171efe670127b4f05906f94
authorStefan Becker <stefan.becker@nokia.com>
Fri, 19 Nov 2010 23:54:16 +0000 (20 01:54 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Fri, 19 Nov 2010 23:54:16 +0000 (20 01:54 +0200)
tree0238e24a320337b1ce90cc7e1bf70a319ce6de71
parentb9bb91a9feb439b98c1dfb28ad29af781fd59761
Add User-Agent header to all responses

While comparing M$ OC client and pidgin-sipe logs I noticed that we didn't add
an User-Agent header to all our responses, whereas (as far as I can see) the M$
client does.

Refactor the code to add User-Agent header in sip_transport_response().
src/core/sip-transport.c
src/core/sip-transport.h
src/core/sipe-incoming.c