From d63aa3793906423bd3bffe6ab55578c162bfbbda Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 22 Apr 2007 23:23:39 +0000 Subject: net-im/jabberd: imported from portage --- (limited to 'net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch') diff --git a/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch b/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch new file mode 100644 index 0000000..4500a55 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch @@ -0,0 +1,11 @@ +--- jabberd/lib/str.c 2005/04/12 11:43:15 1094 ++++ jabberd/lib/str.c 2005/04/16 19:54:24 1103 +@@ -417,7 +417,7 @@ + static char buff[64]; + int i; + +- i = snprintf(buff,63,"%s:%d",file,line); ++ i = snprintf(buff, sizeof(buff), "%s:%d", file, line); + buff[i] = '\0'; + + return buff; -- cgit v0.9.0.2