You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2012/06/15 18:45:02 UTC
svn commit: r1350690 -
/trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext
Author: jpeach
Date: Fri Jun 15 16:45:02 2012
New Revision: 1350690
URL: http://svn.apache.org/viewvc?rev=1350690&view=rev
Log:
Just use pre tags
Modified:
trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext
Modified: trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext?rev=1350690&r1=1350689&r2=1350690&view=diff
==============================================================================
--- trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext (original)
+++ trafficserver/site/trunk/content/docs/trunk/sdk/sample-source-code/index.en.mdtext Fri Jun 15 16:45:02 2012
@@ -41,7 +41,8 @@ This plugin illustrates:
* How to use the plugin configuration management interface
- :::::c
+
+<pre>
/* blacklist-1.c: An example program that denies client access
* to blacklisted sites. This plugin illustrates
* how to use configuration information from the
@@ -53,11 +54,11 @@ This plugin illustrates:
*
*/
- \#include <stdio.h>
- \#include <string.h>
- \#include <ts/ts.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <ts/ts.h>
- \#define MAX_NSITES 500
+ #define MAX_NSITES 500
static char* sites[MAX_NSITES];
static int nsites;
@@ -299,3 +300,5 @@ This plugin illustrates:
TSMgmtUpdateRegister (contp, "Super Blacklist Plugin", "blacklist.cgi");
}
+
+</pre>