summaryrefslogtreecommitdiff
path: root/source/libsmb/nmblib.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1998-07-31 22:39:15 +0000
committerChristopher R. Hertel <crh@samba.org>1998-07-31 22:39:15 +0000
commit60286ccecaa6028d687e6406755016455e3b3a26 (patch)
treeb3dde9d1f6ecf619d20e64e4a27921452c02e1fb /source/libsmb/nmblib.c
parent2c6dc2779647bbc0c27a102632882e617ef7643e (diff)
downloadsamba-60286ccecaa6028d687e6406755016455e3b3a26.tar.gz
As per a Andrew's message, I went through and removed the timestring()
timestamps from several DEBUG messages. The timestamps are redundant now that DEBUG() provides them automatically. There are still a few more files to do, but I've got to get home for dinner. Chris -)-----
Diffstat (limited to 'source/libsmb/nmblib.c')
-rw-r--r--source/libsmb/nmblib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c
index 66f85d40fd5..62c3f22b1ae 100644
--- a/source/libsmb/nmblib.c
+++ b/source/libsmb/nmblib.c
@@ -678,8 +678,8 @@ struct packet_struct *read_packet(int fd,enum packet_type packet_type)
num_good_receives++;
- DEBUG(5,("%s received a packet of len %d from (%s) port %d\n",
- timestring(),length,inet_ntoa(packet->ip),packet->port));
+ DEBUG(5,("Received a packet of len %d from (%s) port %d\n",
+ length, inet_ntoa(packet->ip), packet->port ) );
return(packet);
}
@@ -699,8 +699,8 @@ static BOOL send_udp(int fd,char *buf,int len,struct in_addr ip,int port)
sock_out.sin_port = htons( port );
sock_out.sin_family = AF_INET;
- DEBUG(5,("%s sending a packet of len %d to (%s) on port %d\n",
- timestring(),len,inet_ntoa(ip),port));
+ DEBUG( 5, ( "Sending a packet of len %d to (%s) on port %d\n",
+ len, inet_ntoa(ip), port ) );
ret = (sendto(fd,buf,len,0,(struct sockaddr *)&sock_out,
sizeof(sock_out)) >= 0);