summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-07-29 19:05:18 +0000
committerBill Meier <wmeier@newsguy.com>2012-07-29 19:05:18 +0000
commit4e1bad02183a01481e7bac2db7d78db52c1c39df (patch)
tree784c8f584cb87ec697a7966b56e2b1a259c4446f
parent3933d7591bc9d8347357a7c29c8ec22050333fe5 (diff)
downloadwireshark-4e1bad02183a01481e7bac2db7d78db52c1c39df.tar.gz
Fix a typo :(
svn path=/trunk/; revision=44113
-rw-r--r--epan/dissectors/packet-nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 8f83b31541..ab6bd2915b 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -1106,7 +1106,7 @@ nfs_full_name_snoop(nfs_name_snoop_t *nns, int *len, char **name, char **pos)
nfs_full_name_snoop(parent_nns, len, name, pos);
if(*name){
/* make sure components are '/' separated */
- *pos += g_snprintf(*pos, (*len+1) - (gulong)(*pos-*name)), "%s%s", ((*pos)[-1]!='/')?"/":"", nns->name);
+ *pos += g_snprintf(*pos, (*len+1) - (gulong)(*pos-*name), "%s%s", ((*pos)[-1]!='/')?"/":"", nns->name);
g_assert((*pos-*name) <= *len);
}
return;