svn commit: samba r19084 - in
branches/SAMBA_4_0/source/lib/socket_wrapper: .
metze at samba.org
metze at samba.org
Thu Oct 5 07:03:41 GMT 2006
Author: metze
Date: 2006-10-05 07:03:41 +0000 (Thu, 05 Oct 2006)
New Revision: 19084
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19084
Log:
make socket_wrapper more portable (standalone) and not use uintX_t
metze
Modified:
branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c 2006-10-05 06:29:06 UTC (rev 19083)
+++ branches/SAMBA_4_0/source/lib/socket_wrapper/socket_wrapper.c 2006-10-05 07:03:41 UTC (rev 19084)
@@ -121,8 +121,8 @@
socklen_t peername_len;
struct {
- unsigned long long pck_snd;
- unsigned long long pck_rcv;
+ unsigned long pck_snd;
+ unsigned long pck_rcv;
} io;
struct socket_info *prev, *next;
@@ -464,9 +464,9 @@
const struct sockaddr_in *src_addr;
const struct sockaddr_in *dest_addr;
const char *file_name;
- uint32_t tcp_seq = 0;
- uint32_t tcp_ack = 0;
- uint8_t tcp_ctl = 0;
+ unsigned long tcp_seq = 0;
+ unsigned long tcp_ack = 0;
+ unsigned char tcp_ctl = 0;
int unreachable = 0;
file_name = socket_wrapper_pcap_file();
More information about the samba-cvs
mailing list