svn commit: r46528 - head/en_US.ISO8859-1/books/developers-handbook/sockets

Brad Davis <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: brd
Date: Mon Apr 13 13:57:34 2015
New Revision: 46528
URL: https://svnweb.freebsd.org/changeset/doc/46528

Log:
  Clean up some of the formatting in the rendered version.

Modified:
  head/en_US.ISO8859-1/books/developers-handbook/sockets/chapter.xml

Modified: head/en_US.ISO8859-1/books/developers-handbook/sockets/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/developers-handbook/sockets/chapter.xml	Mon Apr 13 11:31:26 2015	(r46527)
+++ head/en_US.ISO8859-1/books/developers-handbook/sockets/chapter.xml	Mon Apr 13 13:57:34 2015	(r46528)
@@ -649,11 +649,9 @@ struct in_addr {
 
           <para>Suppose we coded something like this:</para>
 
-<programlisting>
-	sa.sin_family      = AF_INET;
-	sa.sin_port        = 13;
-	sa.sin_addr.s_addr = (((((192 &lt;&lt; 8) | 43) &lt;&lt; 8) | 244) &lt;&lt; 8) | 18;
-</programlisting>
+	  <programlisting>sa.sin_family      = AF_INET;
+sa.sin_port        = 13;
+sa.sin_addr.s_addr = (((((192 &lt;&lt; 8) | 43) &lt;&lt; 8) | 244) &lt;&lt; 8) | 18;</programlisting>
 
           <para>What would the result look like?</para>
 
@@ -838,11 +836,9 @@ struct in_addr {
 	    to <emphasis>reverse</emphasis> the values in our code:
 	    </para>
 
-<programlisting>
-	sa.sin_family      = AF_INET;
-	sa.sin_port        = 13 &lt;&lt; 8;
-	sa.sin_addr.s_addr = (((((18 &lt;&lt; 8) | 244) &lt;&lt; 8) | 43) &lt;&lt; 8) | 192;
-</programlisting>
+	  <programlisting>sa.sin_family      = AF_INET;
+sa.sin_port        = 13 &lt;&lt; 8;
+sa.sin_addr.s_addr = (((((18 &lt;&lt; 8) | 244) &lt;&lt; 8) | 43) &lt;&lt; 8) | 192;</programlisting>
 
            <para>This will <emphasis>trick</emphasis> our compiler
 	     into storing the data in the <emphasis>network byte
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.