aboutsummaryrefslogtreecommitdiffstats
path: root/packet-xdmcp.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:36:07 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:36:07 +0000
commit4ad4caac3465466d917054d2f911b18ba27b4fe0 (patch)
tree21967e4c27ac5e02aa39319022dd2858682fc5f4 /packet-xdmcp.c
parent14e1dba11b93d23bda70c030b0f4dbcc8ea5c4a4 (diff)
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5932 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-xdmcp.c')
-rw-r--r--packet-xdmcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-xdmcp.c b/packet-xdmcp.c
index 83965faebc..9b21daa59f 100644
--- a/packet-xdmcp.c
+++ b/packet-xdmcp.c
@@ -2,7 +2,7 @@
* Routines for XDMCP message dissection
* Copyright 2002, Pasi Eronen <pasi.eronen@nixu.com>
*
- * $Id: packet-xdmcp.c,v 1.1 2002/03/16 02:25:48 guy Exp $
+ * $Id: packet-xdmcp.c,v 1.2 2002/08/02 23:36:05 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -99,7 +99,7 @@ static gint ett_xdmcp_connection = -1;
/* Copied from packet-x11.c */
static void stringCopy(char *dest, const char *source, int length)
{
- u_char c;
+ guchar c;
while(length--) {
c = *source++;
if (!isgraph(c) && c != ' ') c = '.';