[master] d387f09 Better description for strstr.

Federico G. Schwindt fgsch at lodoss.net
Wed Oct 22 03:02:42 CEST 2014


commit d387f09127ff3cb05c011a1aa2103f85af9a1cf8
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Oct 21 23:06:50 2014 +0100

    Better description for strstr.

diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index 5dae97b..73835f9 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -218,8 +218,8 @@ Example
 $Function STRING strstr(STRING s1, STRING s2)
 
 Description
-	Returns the first occurrence of the string *s2* in the string
-	*s1*, or an empty string if not found.
+	Returns a string beginning at the first occurrence of the string
+	*s2* in the string *s1*, or an empty string if *s2* is not found.
 
 	Note that the comparison is case sensitive.
 Example



More information about the varnish-commit mailing list