Changeset 105 for branches/samba-3.0/source/smbd/reply.c
- Timestamp:
- Nov 26, 2007, 9:24:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/reply.c
r62 r105 526 526 set_message(outbuf,2,0,True); 527 527 p = smb_buf(outbuf); 528 p += srvstr_push(outbuf, p, server_devicetype, -1,528 p += srvstr_push(outbuf, p, server_devicetype, BUFFER_SIZE - (p - outbuf), 529 529 STR_TERMINATE|STR_ASCII); 530 530 set_message_end(outbuf,p); … … 556 556 557 557 p = smb_buf(outbuf); 558 p += srvstr_push(outbuf, p, server_devicetype, -1,558 p += srvstr_push(outbuf, p, server_devicetype, BUFFER_SIZE - (p - outbuf), 559 559 STR_TERMINATE|STR_ASCII); 560 p += srvstr_push(outbuf, p, fstype, -1,560 p += srvstr_push(outbuf, p, fstype, BUFFER_SIZE - (p - outbuf), 561 561 STR_TERMINATE); 562 562 … … 1768 1768 SSVALS(p, 0, -1); /* what is this? not in spec */ 1769 1769 #endif 1770 namelen = srvstr_push(outbuf, p, s, -1, STR_ASCII|STR_TERMINATE);1770 namelen = srvstr_push(outbuf, p, s, BUFFER_SIZE - (p - outbuf), STR_ASCII|STR_TERMINATE); 1771 1771 p += namelen; 1772 1772 outsize = set_message_end(outbuf, p);
Note:
See TracChangeset
for help on using the changeset viewer.