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

Update Samba 3.3 to 3.3.1

Location:
branches/samba-3.3.x/source/nmbd
Files:
3 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        }
  • branches/samba-3.3.x/source/nmbd/nmbd_become_dmb.c

    r206 r221  
    129129                work->dmb_name = nmbname;
    130130
    131                 /* Pick the first interface IPv4 address as the domain master browser ip. */
     131                /* Pick the first interface IPv4 address as the domain master
     132                 * browser ip. */
    132133                nip = first_ipv4_iface();
    133134                if (!nip) {
  • branches/samba-3.3.x/source/nmbd/nmbd_subnetdb.c

    r206 r221  
    288288
    289289        if (lp_we_are_a_wins_server()) {
    290                 /* Pick the first interface IPv4 address as the WINS server ip. */
     290                /* Pick the first interface IPv4 address as the WINS server
     291                 * ip. */
    291292                const struct in_addr *nip = first_ipv4_iface();
    292293
Note: See TracChangeset for help on using the changeset viewer.