Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/lanman.c

    r309 r411  
    13531353
    13541354
    1355 static bool srv_comp(struct srv_info_struct *s1,struct srv_info_struct *s2)
     1355static int srv_comp(struct srv_info_struct *s1,struct srv_info_struct *s2)
    13561356{
    13571357        return(strcmp(s1->name,s2->name));
     
    14571457                                s->name, s->type, s->comment, s->domain));
    14581458     
    1459                         if (data_len <= buf_len) {
     1459                        if (data_len < buf_len) {
    14601460                                counted++;
    14611461                                fixed_len += f_len;
     
    18211821                        total++;
    18221822                        data_len += fill_share_info(conn,i,uLevel,0,&f_len,0,&s_len,0);
    1823                         if (data_len <= buf_len) {
     1823                        if (data_len < buf_len) {
    18241824                                counted++;
    18251825                                fixed_len += f_len;
Note: See TracChangeset for help on using the changeset viewer.