Module: kamailio
Branch: master
Commit: d3ae6be82eb3ec909501be9f87e3596b823e2f5a
URL:
https://github.com/kamailio/kamailio/commit/d3ae6be82eb3ec909501be9f87e3596…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-05-14T10:18:46+02:00
janssonrpc-c: relocated error handling section outside of functions section
---
Modified: modules/janssonrpc-c/README
Modified: modules/janssonrpc-c/doc/janssonrpc-c_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/d3ae6be82eb3ec909501be9f87e3596…
Patch:
https://github.com/kamailio/kamailio/commit/d3ae6be82eb3ec909501be9f87e3596…
---
diff --git a/modules/janssonrpc-c/README b/modules/janssonrpc-c/README
index 53c3ca2..6e624ac 100644
--- a/modules/janssonrpc-c/README
+++ b/modules/janssonrpc-c/README
@@ -34,7 +34,8 @@ Matthew Williams
4.1. janssonrpc_notification(conn, method, parameters)
4.2. janssonrpc_request(conn, method, params[, options]])
- 4.3. Error Handling
+
+ 5. Error Handling
List of Examples
@@ -67,7 +68,8 @@ Chapter 1. Admin Guide
4.1. janssonrpc_notification(conn, method, parameters)
4.2. janssonrpc_request(conn, method, params[, options]])
- 4.3. Error Handling
+
+ 5. Error Handling
1. Overview
@@ -187,7 +189,6 @@ modparam("janssonrpc-s", "retry_codes",
"-32603, -32000..-32099");
4.1. janssonrpc_notification(conn, method, parameters)
4.2. janssonrpc_request(conn, method, params[, options]])
- 4.3. Error Handling
4.1. janssonrpc_notification(conn, method, parameters)
@@ -261,7 +262,7 @@ route[RESPONSE] {
}
...
-4.3. Error Handling
+5. Error Handling
When a route is specified as part of the janssonrpc_request() function,
a JSON object is stored in the result pseudo-variable (see
diff --git a/modules/janssonrpc-c/doc/janssonrpc-c_admin.xml
b/modules/janssonrpc-c/doc/janssonrpc-c_admin.xml
index 4ae65c0..ddf46b3 100644
--- a/modules/janssonrpc-c/doc/janssonrpc-c_admin.xml
+++ b/modules/janssonrpc-c/doc/janssonrpc-c_admin.xml
@@ -297,7 +297,8 @@ route[RESPONSE] {
</programlisting>
</example>
</section>
- <section>
+ </section>
+ <section>
<title>
Error Handling
</title>
@@ -402,7 +403,6 @@ route[INTERNAL] {
...
</programlisting>
</example>
- </section>
</section>
</chapter>