Ignore:
Timestamp:
May 24, 2009, 7:17:10 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.1

File:
1 edited

Legend:

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

    r206 r221  
    382382        const struct in_addr *local_ip;
    383383
    384         DEBUG(10, ("Received send_packet from %d\n", procid_to_pid(&src)));
     384        DEBUG(10, ("Received send_packet from %u\n", (unsigned int)procid_to_pid(&src)));
    385385
    386386        if (data->length != sizeof(struct packet_struct)) {
    387                 DEBUG(2, ("Discarding invalid packet length from %d\n",
    388                           procid_to_pid(&src)));
     387                DEBUG(2, ("Discarding invalid packet length from %u\n",
     388                          (unsigned int)procid_to_pid(&src)));
    389389                return;
    390390        }
     
    392392        if ((p->packet_type != NMB_PACKET) &&
    393393            (p->packet_type != DGRAM_PACKET)) {
    394                 DEBUG(2, ("Discarding invalid packet type from %d: %d\n",
    395                           procid_to_pid(&src), p->packet_type));
     394                DEBUG(2, ("Discarding invalid packet type from %u: %d\n",
     395                          (unsigned int)procid_to_pid(&src), p->packet_type));
    396396                return;
    397397        }
     
    401401
    402402        if (pss == NULL) {
    403                 DEBUG(2, ("Could not find ip for packet from %d\n",
    404                           procid_to_pid(&src)));
     403                DEBUG(2, ("Could not find ip for packet from %u\n",
     404                          (unsigned int)procid_to_pid(&src)));
    405405                return;
    406406        }
Note: See TracChangeset for help on using the changeset viewer.