httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1324862 - /httpd/httpd/trunk/docs/manual/developer/modguide.xml
Date Wed, 11 Apr 2012 16:48:50 GMT
Author: humbedooh
Date: Wed Apr 11 16:48:49 2012
New Revision: 1324862

URL: http://svn.apache.org/viewvc?rev=1324862&view=rev
Log:
Fix a bad function declaration

Modified:
    httpd/httpd/trunk/docs/manual/developer/modguide.xml

Modified: httpd/httpd/trunk/docs/manual/developer/modguide.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/developer/modguide.xml?rev=1324862&r1=1324861&r2=1324862&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/developer/modguide.xml (original)
+++ httpd/httpd/trunk/docs/manual/developer/modguide.xml Wed Apr 11 16:48:49 2012
@@ -1539,13 +1539,12 @@ or check out the rest of our documentati
 
 <!-- BEGIN EXAMPLE CODE -->
 <pre style='color:#000000;background:#ffffef;border: 1px dashed #333; padding: 0.5em;
margin: 1em 2em 1em 1em;'>
-<code style='color:#400000; font-weight:bold; '>const</code> <code style='color:#400000;
font-weight:bold; '>char</code> <code style='color:#806030; '>*</code>read_post_value<code
style='color:#806030; '>(</code><code style='color:#400000; font-weight:bold;
'>const</code> <code style='color:#400000; font-weight:bold; '>char</code>
<code style='color:#806030; '>*</code>key<code style='color:#806030; '>)</code>

+<code style='color:#400000; font-weight:bold; '>const</code> <code style='color:#400000;
font-weight:bold; '>char</code> <code style='color:#806030; '>*</code>read_post_value<code
style='color:#806030; '>(</code><code style='color:#400000; font-weight:bold;
'>const</code> apr_array_header_t <code style='color:#806030; '>*</code>fields<code
style='color:#806030; '>,</code> <code style='color:#400000; font-weight:bold;
'>const</code> <code style='color:#400000; font-weight:bold; '>char</code>
<code style='color:#806030; '>*</code>key<code style='color:#806030; '>)</code>

 <code style='color:#806030; '>{</code>
-    <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
-    <code style='color:#400000; font-weight:bold; '>const</code> apr_array_header_t
   <code style='color:#806030; '>*</code>fields<code style='color:#806030;
'>;</code>
+    <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
     <code style='color:#400000; font-weight:bold; '>int</code>              
          i<code style='color:#806030; '>;</code>
     apr_table_entry_t           <code style='color:#806030; '>*</code>e <code
style='color:#806030; '>=</code> <code style='color:#c00000; '>0</code><code
style='color:#806030; '>;</code>
-    <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
+    <code style='color:#c34e00; '>/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/</code>
     e <code style='color:#806030; '>=</code> <code style='color:#806030; '>(</code>apr_table_entry_t
<code style='color:#806030; '>*</code><code style='color:#806030; '>)</code>
fields<code style='color:#806030; '>-</code><code style='color:#806030; '>></code>elts<code
style='color:#806030; '>;</code>
     <code style='color:#400000; font-weight:bold; '>for</code><code style='color:#806030;
'>(</code>i <code style='color:#806030; '>=</code> <code style='color:#c00000;
'>0</code><code style='color:#806030; '>;</code> i <code style='color:#806030;
'>&lt;</code> fields<code style='color:#806030; '>-</code><code
style='color:#806030; '>></code>nelts<code style='color:#806030; '>;</code>
i<code style='color:#806030; '>+</code><code style='color:#806030; '>+</code><code
style='color:#806030; '>)</code> <code style='color:#806030; '>{</code>
         <code style='color:#400000; font-weight:bold; '>if</code><code style='color:#806030;
'>(</code><code style='color:#806030; '>!</code><code style='color:#800040;
'>strcmp</code><code style='color:#806030; '>(</code>e<code style='color:#806030;
'>[</code>i<code style='color:#806030; '>]</code><code style='color:#806030;
'>.</code>key<code style='color:#806030; '>,</code> key<code style='color:#806030;
'>)</code><code style='color:#806030; '>)</code> <code style='color:#400000;
font-weight:bold; '>return</code> e<code style='color:#806030; '>[</code>i<code
style='color:#806030; '>]</code><code style='color:#806030; '>.</code>val<code
style='color:#806030; '>;</code>



Mime
View raw message