Don't do fcn calls in arg of g_?to??(); Macro may very well eval args multiple times.
[obnox/wireshark/wip.git] / epan / dissectors / packet-dcerpc-rsec_login.c
index 26b11e304ca627d83eb1440d4bd4f9146c0fe9d5..f7b3d88089b63a21d5492ff975f544ff2cb82bd0 100644 (file)
@@ -7,8 +7,8 @@
  *      
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -35,8 +35,6 @@
 #include <sys/types.h>
 #endif
 
-#include <string.h>
-
 #include <glib.h>
 #include <epan/packet.h>
 #include "packet-dcerpc.h"
@@ -53,16 +51,16 @@ static guint16  ver_rsec_login = 2;
 
 
 static dcerpc_sub_dissector rsec_login_dissectors[] = {
-    { 0, "rsec_login_get_trusted_preauth", NULL, NULL},
-    { 0, NULL, NULL, NULL }
+       { 0, "rsec_login_get_trusted_preauth", NULL, NULL},
+       { 0, NULL, NULL, NULL }
 };
 
 void
 proto_register_rsec_login (void)
 {
        static hf_register_info hf[] = {
-       { &hf_rsec_login_opnum,
-               { "Operation", "rsec_login.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, "Operation", HFILL }}
+               { &hf_rsec_login_opnum,
+               { "Operation", "rsec_login.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}
        };
 
        static gint *ett[] = {