summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-04-08 13:41:30 +0000
committerBill Meier <wmeier@newsguy.com>2009-04-08 13:41:30 +0000
commit321506c076b5d2ed1cc4cc5c74569093b3e1aca0 (patch)
tree8452f326fe422f58ce23b34cc250db27fd0082de
parent0beccd173fb12cab957bfbf7e170b51d39b259e4 (diff)
downloadwireshark-321506c076b5d2ed1cc4cc5c74569093b3e1aca0.tar.gz
(Trivial) Fix some spelling & etc in comments
svn path=/trunk/; revision=27996
-rw-r--r--asn1/kerberos/packet-kerberos-template.c2
-rw-r--r--epan/dissectors/packet-esis.c2
-rw-r--r--epan/dissectors/packet-kerberos.c2
-rw-r--r--epan/dissectors/packet-lapd.c2
-rw-r--r--epan/dissectors/packet-ospf.c4
-rw-r--r--file.h2
-rw-r--r--gtk/main.c2
-rw-r--r--gtk/mcast_stream.c2
-rw-r--r--gtk/profile_dlg.c2
-rw-r--r--gtk/voip_calls.c2
-rw-r--r--plugins/profinet/packet-pn-rt.c2
-rw-r--r--tap-rtp-common.c2
12 files changed, 13 insertions, 13 deletions
diff --git a/asn1/kerberos/packet-kerberos-template.c b/asn1/kerberos/packet-kerberos-template.c
index 474e56f81c..17cd626702 100644
--- a/asn1/kerberos/packet-kerberos-template.c
+++ b/asn1/kerberos/packet-kerberos-template.c
@@ -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,
diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c
index cf981f831e..10eff8fa9c 100644
--- a/epan/dissectors/packet-esis.c
+++ b/epan/dissectors/packet-esis.c
@@ -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.
diff --git a/epan/dissectors/packet-kerberos.c b/epan/dissectors/packet-kerberos.c
index ccf76eb05a..e8a303a3db 100644
--- a/epan/dissectors/packet-kerberos.c
+++ b/epan/dissectors/packet-kerberos.c
@@ -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,
diff --git a/epan/dissectors/packet-lapd.c b/epan/dissectors/packet-lapd.c
index 434b67000a..ed719f57b7 100644
--- a/epan/dissectors/packet-lapd.c
+++ b/epan/dissectors/packet-lapd.c
@@ -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;
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c
index 0d3380a60d..8908427157 100644
--- a/epan/dissectors/packet-ospf.c
+++ b/epan/dissectors/packet-ospf.c
@@ -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 312883b57b..fc16299562 100644
--- 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);
diff --git a/gtk/main.c b/gtk/main.c
index 0bae3d3d06..203551e8df 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -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) {
diff --git a/gtk/mcast_stream.c b/gtk/mcast_stream.c
index db91af9265..b8f7920116 100644
--- a/gtk/mcast_stream.c
+++ b/gtk/mcast_stream.c
@@ -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)
{
diff --git a/gtk/profile_dlg.c b/gtk/profile_dlg.c
index eeec1c00a5..510f26888e 100644
--- a/gtk/profile_dlg.c
+++ b/gtk/profile_dlg.c
@@ -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;
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index a92763ca43..f687d1cc2f 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -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)
{
diff --git a/plugins/profinet/packet-pn-rt.c b/plugins/profinet/packet-pn-rt.c
index 6c087c5387..f7d178d32a 100644
--- a/plugins/profinet/packet-pn-rt.c
+++ b/plugins/profinet/packet-pn-rt.c
@@ -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) {
diff --git a/tap-rtp-common.c b/tap-rtp-common.c
index de49e03d20..b90725adf7 100644
--- a/tap-rtp-common.c
+++ b/tap-rtp-common.c
@@ -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)
{