safer
authorVolker Birk <vb@pep-project.org>
Sat, 22 Aug 2015 14:09:35 +0200
changeset 339a6485dc4f7af
parent 338 962f6656d2c8
child 340 ff99a398d872
safer
src/pEpEngine.c
     1.1 --- a/src/pEpEngine.c	Fri Aug 21 17:12:59 2015 +0200
     1.2 +++ b/src/pEpEngine.c	Sat Aug 22 14:09:35 2015 +0200
     1.3 @@ -422,7 +422,7 @@
     1.4  
     1.5  	fsize = strlen(fingerprint);
     1.6  
     1.7 -	if (lang == NULL)
     1.8 +	if (!lang || !lang[0])
     1.9  		lang = "en";
    1.10  
    1.11  	assert((lang[0] >= 'A' && lang[0] <= 'Z')