Changeset 221 for branches/samba-3.3.x/source/nmbd/nmbd.c
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/nmbd/nmbd.c
r206 r221 382 382 const struct in_addr *local_ip; 383 383 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))); 385 385 386 386 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))); 389 389 return; 390 390 } … … 392 392 if ((p->packet_type != NMB_PACKET) && 393 393 (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)); 396 396 return; 397 397 } … … 401 401 402 402 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))); 405 405 return; 406 406 }
Note:
See TracChangeset
for help on using the changeset viewer.