author | Michael Krelin <hacker@klever.net> | 2007-04-22 23:23:39 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-22 23:23:39 (UTC) |
commit | d63aa3793906423bd3bffe6ab55578c162bfbbda (patch) (unidiff) | |
tree | 575b6dd5d44cf5166d42b62b59f7c0623c614fc6 /net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch | |
parent | 4243b8fe439f0f819b797d908345bd8ffc067ead (diff) | |
download | misc-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.patch | 11 |
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 @@ | |||
1 | --- jabberd/lib/str.c 2005/04/12 11:43:151094 | ||
2 | +++ jabberd/lib/str.c 2005/04/16 19:54:241103 | ||
3 | @@ -417,7 +417,7 @@ | ||
4 | static char buff[64]; | ||
5 | int i; | ||
6 | |||
7 | - i = snprintf(buff,63,"%s:%d",file,line); | ||
8 | + i = snprintf(buff, sizeof(buff), "%s:%d", file, line); | ||
9 | buff[i] = '\0'; | ||
10 | |||
11 | return buff; | ||