diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-15 18:27:26 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-15 18:27:26 -0800 |
commit | acb829ecc3b9af3f141425ecac032a7c722a1815 (patch) | |
tree | b5f4f9d8d89096859509b419894ac68c6b62f029 /source3/smbd | |
parent | c261545449f71d9b347a37518dab0d5ae4116f8b (diff) | |
download | samba-acb829ecc3b9af3f141425ecac032a7c722a1815.tar.gz samba-acb829ecc3b9af3f141425ecac032a7c722a1815.tar.bz2 samba-acb829ecc3b9af3f141425ecac032a7c722a1815.zip |
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 53fc1be586..6dc979cf3b 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -521,7 +521,7 @@ static void validate_my_share_entries(int num, char *str = talloc_asprintf(talloc_tos(), "Got a deferred entry without a request: " "PANIC: %s\n", - share_mode_str(num, share_entry)); + share_mode_str(talloc_tos(), num, share_entry)); smb_panic(str); } @@ -533,7 +533,7 @@ static void validate_my_share_entries(int num, share_entry->share_file_id); if (!fsp) { DEBUG(0,("validate_my_share_entries: PANIC : %s\n", - share_mode_str(num, share_entry) )); + share_mode_str(talloc_tos(), num, share_entry) )); smb_panic("validate_my_share_entries: Cannot match a " "share entry with an open file\n"); } @@ -560,7 +560,7 @@ static void validate_my_share_entries(int num, { char *str; DEBUG(0,("validate_my_share_entries: PANIC : %s\n", - share_mode_str(num, share_entry) )); + share_mode_str(talloc_tos(), num, share_entry) )); str = talloc_asprintf(talloc_tos(), "validate_my_share_entries: " "file %s, oplock_type = 0x%x, op_type = 0x%x\n", |