Fix some white space.
authorGuy Harris <guy@alum.mit.edu>
Fri, 25 Apr 2014 08:37:42 +0000 (01:37 -0700)
committerGuy Harris <guy@alum.mit.edu>
Fri, 25 Apr 2014 08:38:44 +0000 (08:38 +0000)
Change-Id: I9adec36251e27e71c530e64a472ab7562bd07fed
Reviewed-on: https://code.wireshark.org/review/1340
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/tvbuff.c

index 3ba9decde7325a293ad28d2eeb20c666072156c0..b7464b5bcc74e9635858408906e6eeb101d4f151 100644 (file)
@@ -347,10 +347,10 @@ tvb_new_octet_aligned(tvbuff_t *tvb, guint32 bit_offset, gint32 no_of_bits)
        DISSECTOR_ASSERT(datalen>0);
 
        /* if at least one trailing byte is available, we must use the content
-       * of that byte for the last shift (i.e. tvb_get_ptr() must use datalen + 1
-       * if non extra byte is available, the last shifted byte requires
-       * special treatment
-       */
+       * of that byte for the last shift (i.e. tvb_get_ptr() must use datalen + 1
+       * if non extra byte is available, the last shifted byte requires
+       * special treatment
+       */
        if (_tvb_captured_length_remaining(tvb, byte_offset) > datalen) {
                data = ensure_contiguous(tvb, byte_offset, datalen + 1); /* tvb_get_ptr */
 
@@ -2544,7 +2544,7 @@ tvb_get_ascii_stringz(wmem_allocator_t *scope, tvbuff_t *tvb, gint offset, gint
        const guint8  *ptr;
 
        size = tvb_strsize(tvb, offset);
-       ptr  = ensure_contiguous(tvb, offset, size);
+       ptr  = ensure_contiguous(tvb, offset, size);
        /* XXX, conversion between signed/unsigned integer */
        if (lengthp)
                *lengthp = size;