proxy_config_tester.c: fix compilation

This commit is contained in:
Gautier Pelloux-Prayer 2015-05-22 16:22:01 +02:00
parent 6b134f5a33
commit 4d547292db

View file

@ -19,9 +19,8 @@
#include "liblinphone_tester.h"
const char* phone_normalization(LinphoneProxyConfig *proxy, const char* in) {
const size_t RESULTLENGTH = 255;
static char result[RESULTLENGTH];
linphone_proxy_config_normalize_number(proxy, in, result, RESULTLENGTH-1);
static char result[255];
linphone_proxy_config_normalize_number(proxy, in, result, 255-1);
return result;
}