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) (side-by-side diff) | |
tree | 575b6dd5d44cf5166d42b62b59f7c0623c614fc6 /net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.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-xdb_file.c-rev1107.patch') (more/less context) (show whitespace changes)
-rw-r--r-- | net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch b/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch new file mode 100644 index 0000000..a664349 --- a/dev/null +++ b/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch @@ -0,0 +1,13 @@ +--- xdb_file/xdb_file.c 2005/07/08 22:36:46 1106 ++++ xdb_file/xdb_file.c 2005/07/11 14:23:27 1107 +@@ -153,8 +153,8 @@ + + /* generate a hash over the filename */ + bzero(hashedfilename, sizeof(hashedfilename)); +- bzero(digit01, sizeof(digit01)); +- bzero(digit23, sizeof(digit23)); ++ bzero(digit01, sizeof(char[3])); ++ bzero(digit23, sizeof(char[3])); + crc32_r(filename, hashedfilename); + log_debug2(ZONE, LOGT_STORAGE, "hash of %s is %s", filename, hashedfilename); + memcpy(digit01, hashedfilename+1, 2); |