diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-29 17:25:41 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-29 17:25:41 -0800 |
commit | f692694b99319ef1f534ea29f001922656402cdf (patch) | |
tree | d571e437f4ac8b96f1575d3a9732f2354c0065ae /source3/nmbd | |
parent | b05ffb50652c00c721dc085ffd0938e9e6aa019b (diff) | |
download | samba-f692694b99319ef1f534ea29f001922656402cdf.tar.gz samba-f692694b99319ef1f534ea29f001922656402cdf.tar.bz2 samba-f692694b99319ef1f534ea29f001922656402cdf.zip |
Remove PSTRING_LEN from smbd/ nmbd/.
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
(This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_sendannounce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_sendannounce.c b/source3/nmbd/nmbd_sendannounce.c index 73c875d248..a4e646771f 100644 --- a/source3/nmbd/nmbd_sendannounce.c +++ b/source3/nmbd/nmbd_sendannounce.c @@ -34,7 +34,7 @@ extern bool found_lm_clients; void send_browser_reset(int reset_type, const char *to_name, int to_type, struct in_addr to_ip) { - char outbuf[PSTRING_LEN]; + char outbuf[1024]; char *p; DEBUG(3,("send_browser_reset: sending reset request type %d to %s<%02x> IP %s.\n", @@ -59,7 +59,7 @@ void send_browser_reset(int reset_type, const char *to_name, int to_type, struct void broadcast_announce_request(struct subnet_record *subrec, struct work_record *work) { - char outbuf[PSTRING_LEN]; + char outbuf[1024]; char *p; work->needannounce = True; @@ -90,7 +90,7 @@ static void send_announcement(struct subnet_record *subrec, int announce_type, time_t announce_interval, const char *server_name, int server_type, const char *server_comment) { - char outbuf[PSTRING_LEN]; + char outbuf[1024]; unstring upper_server_name; char *p; @@ -131,7 +131,7 @@ static void send_lm_announcement(struct subnet_record *subrec, int announce_type time_t announce_interval, char *server_name, int server_type, char *server_comment) { - char outbuf[PSTRING_LEN]; + char outbuf[1024]; char *p=outbuf; memset(outbuf,'\0',sizeof(outbuf)); |