diff --git a/mbuni/mmsc/mmsmobilesender.c b/mbuni/mmsc/mmsmobilesender.c index 6f45e7c..dd229de 100644 --- a/mbuni/mmsc/mmsmobilesender.c +++ b/mbuni/mmsc/mmsmobilesender.c @@ -79,8 +79,8 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg * ct++; - octstr_append_char(pduhdr, ct); - octstr_append_char(pduhdr, 0x06); /* Pushd id */ + octstr_append_char(pduhdr, ct); /* Pushd id */ + octstr_append_char(pduhdr, 0x06); /* PUSH */ #if 1 @@ -92,7 +92,7 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg * octstr_append_cstr(pduhdr, "application/vnd.wap.mms-message"); octstr_append_char(pduhdr, 0x0); /* string terminator. */ #endif - octstr_append_char(pduhdr, 0xaf); /* charset. */ + octstr_append_char(pduhdr, 0xaf); /* push application ID header and value follows. */ octstr_append_char(pduhdr, 0x84); /* ... */ s = mms_tobinary(msg); diff --git a/mbuni/mmsc/mmsproxy.c b/mbuni/mmsc/mmsproxy.c index dac705e..767e28f 100644 --- a/mbuni/mmsc/mmsproxy.c +++ b/mbuni/mmsc/mmsproxy.c @@ -406,7 +406,7 @@ void fetchmms_proxy(MmsHTTPClientInfo *h) if (e) { e->lastaccess = time(NULL); /* No more notifications requests. */ - e->sendt = e->expiryt + 3600*24*30*12; + e->sendt = e->expiryt + 3600*24*7; /* keep it for a week. */ settings->qfs->mms_queue_update(e); }