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);