1 diff -ru langtag.orig/liblangtag/lt-messages.c langtag/liblangtag/lt-messages.c
2 --- UnpackedTarball/langtag.orig/liblangtag/lt-messages.c 2013-04-22 10:06:57.000000000 +0200
3 +++ UnpackedTarball/langtag/liblangtag/lt-messages.c 2013-04-30 11:38:04.116532065 +0200
7 catstring = malloc(sizeof (char) * (clen + 6));
9 + _snprintf(catstring, clen + 6, "[%s]: ", cs);
11 snprintf(catstring, clen + 6, "[%s]: ", cs);
13 clen = strlen(catstring);
15 len = tlen + clen + 1;
16 retval = malloc(sizeof (char) * len);
19 + _snprintf(retval, len, "%s%s ", ts, catstring ? catstring : "");
21 snprintf(retval, len, "%s%s ", ts, catstring ? catstring : "");