From a27ae1b7b2c5ff42488823f76bd7600a3b91d6ae Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Tue, 13 Dec 2005 04:39:28 +0000 Subject: [PATCH] Fix for User-Agent version number string. --- mbuni/mmlib/mms_uaprof.c | 2 +- mbuni/mmsc/mmsmobilesender.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mbuni/mmlib/mms_uaprof.c b/mbuni/mmlib/mms_uaprof.c index 2319014..ed64474 100644 --- a/mbuni/mmlib/mms_uaprof.c +++ b/mbuni/mmlib/mms_uaprof.c @@ -523,7 +523,7 @@ MmsUaProfile *mms_get_ua_profile(char *url) if (client) { h = http_create_empty_headers(); - http_header_add(h, "User-Agent", MM_NAME "/" GW_VERSION); + http_header_add(h, "User-Agent", MM_NAME "/" MMSC_VERSION); http_start_request(client,HTTP_METHOD_GET, s, h, NULL, 1, octstr_duplicate(s), NULL); http_destroy_headers(h); diff --git a/mbuni/mmsc/mmsmobilesender.c b/mbuni/mmsc/mmsmobilesender.c index 597beff..aebb910 100644 --- a/mbuni/mmsc/mmsmobilesender.c +++ b/mbuni/mmsc/mmsmobilesender.c @@ -106,7 +106,7 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg * pheaders = http_create_empty_headers(); http_header_add(pheaders, "Connection", "close"); - http_header_add(pheaders, "User-Agent", MM_NAME "/" GW_VERSION); + http_header_add(pheaders, "User-Agent", MM_NAME "/" MMSC_VERSION); http_start_request(httpcaller, HTTP_METHOD_GET, url, pheaders, NULL, 0, e, NULL);