2
0
Эх сурвалжийг харах

async: fixed typo in docs and adjusted example

Daniel-Constantin Mierla 11 жил өмнө
parent
commit
46f3342428

+ 2 - 2
modules/async/README

@@ -186,10 +186,10 @@ exit;
 
    Example 1.4. async_task_route usage
 ...
-async_task_rroute("RESUME");
+async_task_route("RESUME");
 ...
 route[RESUME] {
-   send_reply("404", "Not found");
+   t_relay();
    exit;
 }
 ...

+ 2 - 2
modules/async/doc/async_admin.xml

@@ -196,10 +196,10 @@ exit;
 		<title><function>async_task_route</function> usage</title>
 		<programlisting format="linespecific">
 ...
-async_task_rroute("RESUME");
+async_task_route("RESUME");
 ...
 route[RESUME] {
-   send_reply("404", "Not found");
+   t_relay();
    exit;
 }
 ...