aboutsummaryrefslogtreecommitdiffstats
path: root/packet-llc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-02-12 11:22:26 +0000
committerGuy Harris <guy@alum.mit.edu>2000-02-12 11:22:26 +0000
commit99576b1786bc535bd5648831ad131c6ced75307e (patch)
treed6edffa960bf80670b5c69fea72515bdf880d152 /packet-llc.c
parent533bc848a4c894fd13fadf90dbcfbfa20c1fc6cf (diff)
Squelch a complaint from Visual C++ 6.0 (the code was OK beforehand, at
least as I remember the ANSI C standard, but I guess they're warning you that you might've intended to return the return value of a function but forgot to put a parameter list after the function name). svn path=/trunk/; revision=1626
Diffstat (limited to 'packet-llc.c')
-rw-r--r--packet-llc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-llc.c b/packet-llc.c
index 351d5f8a12..19b96e28bd 100644
--- a/packet-llc.c
+++ b/packet-llc.c
@@ -2,7 +2,7 @@
* Routines for IEEE 802.2 LLC layer
* Gilbert Ramirez <gramirez@tivoli.com>
*
- * $Id: packet-llc.c,v 1.47 2000/02/05 09:34:33 guy Exp $
+ * $Id: packet-llc.c,v 1.48 2000/02/12 11:22:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -215,7 +215,7 @@ sap_dissect_func(u_char sap) {
}
i++;
}
- return dissect_data;
+ return &dissect_data;
}
void