1
0
Fork 0

Fix for User-Agent version number string.

This commit is contained in:
bagyenda 2005-12-13 04:39:28 +00:00
parent fa4bac1491
commit a27ae1b7b2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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