White space changes.
[obnox/wireshark/wip.git] / tap-diameter-avp.c
index b65f108877b278ffb3037a2db1f0b4dd0a9e7ab7..002167c31fc5796f80bf5e803d583bb2c3dca29f 100644 (file)
@@ -54,7 +54,6 @@
 #include "epan/value_string.h"
 #include "epan/nstime.h"
 #include "epan/ftypes/ftypes.h"
-#include "register.h"
 #include "epan/to_str.h"
 #include "epan/dissectors/packet-diameter.h"
 
@@ -122,7 +121,7 @@ diam_tree_to_csv(proto_node* node, gpointer data)
                        }
                }
                if(!val_str)
-                       val_str=ep_strdup_printf("unsuprorted type: %s",ftype_name(ftype));
+                       val_str=ep_strdup_printf("unsupported type: %s",ftype_name(ftype));
 
                /*printf("traverse: name='%s', abbrev='%s',desc='%s', val='%s'\n",hfi->name,hfi->abbrev,ftype_name(hfi->type),val_str);*/
                printf("%s='%s' ",hfi->name,val_str);
@@ -137,7 +136,6 @@ diameteravp_packet(void *pds, packet_info *pinfo, epan_dissect_t *edt _U_, const
        double resp_time=0.;
        gboolean is_request=TRUE;
        guint32 cmd_code=0;
-       guint32 result_code=0;
        guint32 req_frame=0;
        guint32 ans_frame=0;
        guint32 diam_child_node=0;
@@ -165,7 +163,6 @@ diameteravp_packet(void *pds, packet_info *pinfo, epan_dissect_t *edt _U_, const
        /* Extract data from request/answer pair provided by diameter dissector.*/
        is_request=dp->processing_request;
        cmd_code=dp->cmd_code;
-       result_code=dp->result_code;
        req_frame=dp->req_frame;
        ans_frame=dp->ans_frame;
        if(!is_request) {