(Trivial) Fix some spelling & etc in comments
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Apr 2009 13:41:30 +0000 (13:41 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Apr 2009 13:41:30 +0000 (13:41 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27996 f5534014-38df-0310-8fa8-9805f1628bb7

12 files changed:
asn1/kerberos/packet-kerberos-template.c
epan/dissectors/packet-esis.c
epan/dissectors/packet-kerberos.c
epan/dissectors/packet-lapd.c
epan/dissectors/packet-ospf.c
file.h
gtk/main.c
gtk/mcast_stream.c
gtk/profile_dlg.c
gtk/voip_calls.c
plugins/profinet/packet-pn-rt.c
tap-rtp-common.c

index 474e56f81c311838660789907208e42b51cd7735..17cd62670217258f1f4457c82b89b74651a5ad10 100644 (file)
@@ -1283,7 +1283,7 @@ dissect_krb5_PW_SALT(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U
         * guint32 unknown
         * guint32 unknown
         * decode everything as this blob for now until we see if anyone
-        * else ever uses it   or we learn how to tell wether this
+        * else ever uses it   or we learn how to tell whether this
         * is such an MS blob or not.
         */
        proto_tree_add_item(tree, hf_krb_smb_nt_status, tvb, offset, 4,
index cf981f831e12428e4700ea163908dda227a4acd2..10eff8fa9cd4a20609abe8996f20900e3a6061f2 100644 (file)
@@ -127,7 +127,7 @@ static void esis_dissect_redirect_pdu( guint8 len, tvbuff_t *tvb,
  *
  *   This is just a copy of isis.c and isis.h, so I keep the stuff also
  *   and adapt the names to cover possible protocol errors! Ive really no
- *   idea wether I need this or not.
+ *   idea whether I need this or not.
  *
  * Input
  *   tvbuff_t *      : tvbuff with packet data.
index ccf76eb05aa105ebb3125be591dde453c3ebc78f..e8a303a3dbb47f3f3bede244e86f67d2cd07463a 100644 (file)
@@ -2237,7 +2237,7 @@ dissect_krb5_PW_SALT(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *ac
         * guint32 unknown
         * guint32 unknown
         * decode everything as this blob for now until we see if anyone
-        * else ever uses it   or we learn how to tell wether this
+        * else ever uses it   or we learn how to tell whether this
         * is such an MS blob or not.
         */
        proto_tree_add_item(tree, hf_krb_smb_nt_status, tvb, offset, 4,
index 434b67000a4b7bda40ee9c393e8e15682207d800..ed719f57b71726d25e2ce1443b371cee1a7d7237 100644 (file)
@@ -86,7 +86,7 @@ static gint pref_lapd_rtp_payload_type = 0;
 static dissector_table_t lapd_sapi_dissector_table;
 static dissector_table_t lapd_gsm_sapi_dissector_table;
 
-/* Wether to use GSM SAPI vals or not */
+/* Whether to use GSM SAPI vals or not */
 static gboolean global_lapd_gsm_sapis = FALSE;
 
 static dissector_handle_t data_handle;
index 0d3380a60d5f395e202e4e739c7ca494a321f23f..8908427157e2fd56712ad5084d8652ffe6cf914d 100644 (file)
@@ -2844,7 +2844,7 @@ dissect_ospf_v2_lsa(tvbuff_t *tvb, int offset, proto_tree *tree,
        offset += 4;
 
        options = tvb_get_guint8(tvb, offset);
-       if (options & 0x80) { /* check wether or not E bit is set */
+       if (options & 0x80) { /* check whether or not E bit is set */
            proto_tree_add_text(ospf_lsa_tree, tvb, offset, 1,
                    "External Type: Type 2 (metric is larger than any other link state path)");
        } else {
@@ -2867,7 +2867,7 @@ dissect_ospf_v2_lsa(tvbuff_t *tvb, int offset, proto_tree *tree,
        /* TOS-specific information, if any */
        while (offset < end_offset) {
            options = tvb_get_guint8(tvb, offset);
-           if (options & 0x80) { /* check wether or not E bit is set */
+           if (options & 0x80) { /* check whether or not E bit is set */
                proto_tree_add_text(ospf_lsa_tree, tvb, offset, 1,
                        "External Type: Type 2 (metric is larger than any other link state path)");
            } else {
diff --git a/file.h b/file.h
index 312883b57b5fe67fe9b1c07f0a73e53692be210c..fc16299562f92dc53e6dba7d6c507947121677f5 100644 (file)
--- a/file.h
+++ b/file.h
@@ -156,7 +156,7 @@ gboolean cf_can_save_as(capture_file *cf);
  * @param fname the filename to save to
  * @param range the range of packets to save
  * @param save_format the format of the file to save (libpcap, ...)
- * @param compressed wether to gzip compress the file
+ * @param compressed whether to gzip compress the file
  * @return one of cf_status_t
  */
 cf_status_t cf_save(capture_file * cf, const char *fname, packet_range_t *range, guint save_format, gboolean compressed);
index 0bae3d3d0652ef5fb093abd956a10aeb17100126..203551e8dfdb8f7a14927703ad5ec6429ca15046 100644 (file)
@@ -1227,7 +1227,7 @@ main_cf_cb_file_closing(capture_file *cf)
 {
 
     /* if we have more than 10000 packets, show a splash screen while closing */
-    /* XXX - don't know a better way to decide wether to show or not,
+    /* XXX - don't know a better way to decide whether to show or not,
      * as most of the time is spend in a single eth_clist_clear function,
      * so we can't use a progress bar here! */
     if(cf->count > 10000) {
index db91af9265c0aa42b3d64ec7118331b5dd849bf7..b8f792011617500c71927d6cc918fb12a7cc0d3e 100644 (file)
@@ -180,7 +180,7 @@ static int mcaststream_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt
             (strncmp("3333", bytes_to_str(pinfo->dl_dst.data, pinfo->dl_dst.len), 4) != 0)) )
                return 0;
 
-       /* check wether we already have a stream with these parameters in the list */
+       /* check whether we already have a stream with these parameters in the list */
        list = g_list_first(tapinfo->strinfo_list);
        while (list)
        {
index eeec1c00a5a5c877dd9f05440f2a9ed7c0a15976..510f26888e8a91ddab6136609e4248ea774e7164 100644 (file)
@@ -204,7 +204,7 @@ fill_list(GtkWidget *main_w)
     ws_dir_close (dir);
   }
 
-  /* Make the current list an the edited list equal */
+  /* Make the current list and the edited list equal */
   copy_profile_list ();
 
   return l_select;
index a92763ca43ce157083d11f51daea214fd3b1631a..f687d1cc2f94375dae045c5bf53d0295b9c4e023 100644 (file)
@@ -498,7 +498,7 @@ RTP_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, void cons
        add_rtp_packet(pi, pinfo);
 #endif
 
-       /* check wether we already have a RTP stream with this setup frame and ssrc in the list */
+       /* check whether we already have a RTP stream with this setup frame and ssrc in the list */
        list = g_list_first(tapinfo->list);
        while (list)
        {
index 6c087c53876c170d87263b45709bc65767ed032b..f7d178d32aecdb138f9c3ab1122db4c942fa2407 100644 (file)
@@ -247,7 +247,7 @@ dissect_pn_rt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   /* The PN-RT protocol uses status values at the end of the Ethernet frame.
    * Unfortunately it doesn't contain a length field in the PN-RT protocol itself,
    * so we must depend on the tvb length. This is sometimes is a bit confusing
-   * wether the length of the tvb contains the optional FCS at the end or not
+   * whether the length of the tvb contains the optional FCS at the end or not
    * therefore the following heuristic ... */
 
   if(pinfo->fd->lnk_t == WTAP_ENCAP_IEEE_802_11_WITH_RADIO) {
index de49e03d20f77cc9b7efba6a638ad4a3cfff8775..b90725adf7eb9ca88174322e0f4c23999772059a 100644 (file)
@@ -204,7 +204,7 @@ int rtpstream_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, con
        tmp_strinfo.info_payload_type_str = rtpinfo->info_payload_type_str;
 
        if (tapinfo->mode == TAP_ANALYSE) {
-               /* check wether we already have a stream with these parameters in the list */
+               /* check whether we already have a stream with these parameters in the list */
                list = g_list_first(tapinfo->strinfo_list);
                while (list)
                {