Author: mmichelson
Date: Fri Mar 27 09:24:30 2015
New Revision: 433573

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433573
Log:
Remove trailing whitespace.


Modified:
    team/group/dns_naptr/main/dns_naptr.c
    team/group/dns_naptr/tests/test_dns_naptr.c

Modified: team/group/dns_naptr/main/dns_naptr.c
URL: 
http://svnview.digium.com/svn/asterisk/team/group/dns_naptr/main/dns_naptr.c?view=diff&rev=433573&r1=433572&r2=433573
==============================================================================
--- team/group/dns_naptr/main/dns_naptr.c (original)
+++ team/group/dns_naptr/main/dns_naptr.c Fri Mar 27 09:24:30 2015
@@ -252,7 +252,7 @@
 
                ptr = backslash_pos + 1;
        }
-       
+
        return 0;
 }
 
@@ -396,7 +396,7 @@
        char *end_of_record;
        enum flags_result flags_res;
 
-       /* 
+       /*
         * This is bordering on the hackiest thing I've ever written.
         * Part of parsing a NAPTR record is to parse a potential replacement
         * domain name. Decoding this domain name requires the use of the
@@ -419,7 +419,7 @@
                 */
                ast_assert(naptr_offset != NULL);
                ast_assert(naptr_search_base + remaining_size - naptr_offset >= 
size);
-               
+
                if (!memcmp(naptr_offset, data, size)) {
                        /* BAM! FOUND IT! */
                        ptr = naptr_offset;

Modified: team/group/dns_naptr/tests/test_dns_naptr.c
URL: 
http://svnview.digium.com/svn/asterisk/team/group/dns_naptr/tests/test_dns_naptr.c?view=diff&rev=433573&r1=433572&r2=433573
==============================================================================
--- team/group/dns_naptr/tests/test_dns_naptr.c (original)
+++ team/group/dns_naptr/tests/test_dns_naptr.c Fri Mar 27 09:24:30 2015
@@ -60,7 +60,7 @@
  * There is no buffer size passed to this function since we provide
  * the data ourselves and have sized the buffer to be way larger
  * than necessary for the tests.
- * 
+ *
  * \param num_records The number of DNS records in this DNS response
  * \param buf The buffer to write the header into
  * \retval The number of bytes written to the buffer
@@ -99,7 +99,7 @@
  * There is no buffer size passed to this function since we provide
  * the data ourselves and have sized the buffer to be way larger
  * than necessary for the tests.
- * 
+ *
  * \param buf The buffer to write the question into
  * \retval The number of bytes written to the buffer
  */
@@ -132,7 +132,7 @@
  * There is no buffer size passed to this function since we provide
  * the data ourselves and have sized the buffer to be way larger
  * than necessary for the tests.
- * 
+ *
  * \param buf The buffer to write the answer into
  * \retval The number of bytes written to the buffer
  */
@@ -287,7 +287,7 @@
 static struct naptr_record *test_records;
 /*!
  * \brief The number of records in the test_records array.
- * 
+ *
  * Each test must set this to the appropriate value at the
  * beginning of the test and must set this back to zero at
  * the end of the test.
@@ -313,7 +313,7 @@
        struct ast_dns_query *query = dns_query;
        int i;
        char *ptr = ans_buffer;
-       
+
        ptr += generate_dns_header(num_test_records, ptr);
        ptr += generate_dns_question(ptr);
 


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to