[master] c385dbf API documentation fixes.

Martin Blix Grydeland martin at varnish-software.com
Thu Jan 30 14:02:08 CET 2014


commit c385dbf63d57f23702a5fdaa2e5ebd3640ce58a7
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Thu Jan 30 13:33:31 2014 +0100

    API documentation fixes.

diff --git a/include/vapi/vsm.h b/include/vapi/vsm.h
index d92ab85..7db5199 100644
--- a/include/vapi/vsm.h
+++ b/include/vapi/vsm.h
@@ -93,7 +93,8 @@ void VSM_ResetError(struct VSM_data *vd);
 int VSM_n_Arg(struct VSM_data *vd, const char *n_arg);
 	/*
 	 * Configure which varnishd instance to access.
-	 * Can also be, and normally is done through VSC_Arg()/VSL_Arg().
+	 * Uses hostname if n_arg is NULL or "".
+	 *
 	 * Returns:
 	 *	 1 on success
 	 *	 <0 on failure, VSM_Error() returns diagnostic string
@@ -107,8 +108,6 @@ int VSM_N_Arg(struct VSM_data *vd, const char *N_arg);
 	 * bypasses abandonment checks and allows looking at stale VSM
 	 * files without a running Varnish instance.
 	 *
-	 * Can also be, and normally is done through VSC_Arg()/VSL_Arg().
-	 *
 	 * Returns:
 	 *	1 on success
 	 */



More information about the varnish-commit mailing list