Browse Source

async: fixed typo in docs and adjusted example

Daniel-Constantin Mierla 11 years ago
parent
commit
46f3342428
2 changed files with 4 additions and 4 deletions
  1. 2 2
      modules/async/README
  2. 2 2
      modules/async/doc/async_admin.xml

+ 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;
 }
 ...