Configuration file library

Files at this revision

API Documentation at this revision

Comitter:
pbrier
Date:
Thu Jan 27 21:46:18 2011 +0000
Parent:
4:466a2aeaae75
Commit message:
1.21

Changed in this revision

ConfigFile.h Show annotated file Show diff for this revision Revisions of this file
diff -r 466a2aeaae75 -r 8c8cf4615b32 ConfigFile.h
--- a/ConfigFile.h	Thu Jan 27 21:44:22 2011 +0000
+++ b/ConfigFile.h	Thu Jan 27 21:46:18 2011 +0000
@@ -55,7 +55,7 @@
       * int port;
       * {
       *   ConfigFile cfg("/local/config.txt");
-      *   cfg.Value("ip", val, sizeof(val), "192.168.1.10");
+      *   cfg.Value("ip", ip, sizeof(ip), "192.168.1.10");
       *   cfg.Value("port", &port, 80);
       * }
       * @endcode