summaryrefslogtreecommitdiff
path: root/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch
authorMichael Krelin <hacker@klever.net>2007-04-22 23:23:39 (UTC)
committer Michael Krelin <hacker@klever.net>2007-04-22 23:23:39 (UTC)
commitd63aa3793906423bd3bffe6ab55578c162bfbbda (patch) (side-by-side diff)
tree575b6dd5d44cf5166d42b62b59f7c0623c614fc6 /net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch
parent4243b8fe439f0f819b797d908345bd8ffc067ead (diff)
downloadmisc-d63aa3793906423bd3bffe6ab55578c162bfbbda.zip
misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.gz
misc-d63aa3793906423bd3bffe6ab55578c162bfbbda.tar.bz2
net-im/jabberd: imported from portage
Diffstat (limited to 'net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch11
1 files changed, 11 insertions, 0 deletions
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;