[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3798 - GNUnet-docs/WWW
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3798 - GNUnet-docs/WWW |
Date: |
Sun, 19 Nov 2006 21:33:25 -0800 (PST) |
Author: grothoff
Date: 2006-11-19 21:33:21 -0800 (Sun, 19 Nov 2006)
New Revision: 3798
Modified:
GNUnet-docs/WWW/hacking_testcases.php3
Log:
fix
Modified: GNUnet-docs/WWW/hacking_testcases.php3
===================================================================
--- GNUnet-docs/WWW/hacking_testcases.php3 2006-11-20 04:55:01 UTC (rev
3797)
+++ GNUnet-docs/WWW/hacking_testcases.php3 2006-11-20 05:33:21 UTC (rev
3798)
@@ -55,10 +55,10 @@
W("The following code illustrates spawning and killing a <tt>gnunetd</tt>
process from a testcase:");
EP();
PRE("pid_t daemon; \n" .
- "daemon = startGNUnetDaemon(NO);\n" .
+ "daemon = os_daemon_start(NULL, cfg, \"peer.conf\", NO);\n" .
"/* put actual testcode here */\n" .
"if (daemon != -1) {\n" .
- " if (! termProcess(daemon))\n" .
+ " if (YES != os_daemon_stop(NULL, daemon))\n" .
" DIE_STRERROR(\"kill\");\n" .
"}\n");
BP();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3798 - GNUnet-docs/WWW,
grothoff <=