diff --git a/mbuni/mmsc/mmsproxy.c b/mbuni/mmsc/mmsproxy.c index 2539175..e24fe8e 100644 --- a/mbuni/mmsc/mmsproxy.c +++ b/mbuni/mmsc/mmsproxy.c @@ -1412,7 +1412,7 @@ static void sendmms_proxy(MmsHTTPClientInfo *h) sscanf(octstr_get_cstr(x), "%d", &limit); octstr_destroy(x); } else - limit = INT_MAX; + limit = USER_MMBOX_MSG_QUOTA; /* Check for quota and count requests. */ if ((x = mms_get_header_value(m, octstr_imm("X-Mms-Totals"))) != NULL) {