Commit 977aecc4a60928d05719e3b0b534335b1f82effa

Kano 2012-05-31T23:30:38

API update version to V1.11 and document changes

diff --git a/API-README b/API-README
index 706ffb0..0782457 100644
--- a/API-README
+++ b/API-README
@@ -200,6 +200,8 @@ The list of requests - a (*) means it requires privileged access - and replies a
                none           There is no reply section just the STATUS section
                               stating success or failure saving the cgminer config
                               to filename
+                              The filename is optional and will use the cgminer
+                              default if not specified
 
  quit (*)      none           There is no status section but just a single "BYE"
                               reply before cgminer quits
@@ -283,7 +285,17 @@ miner.php - an example web page to access the API
 Feature Changelog for external applications using the API:
 
 
-API V1.10
+API V1.11
+
+Modified API commands:
+ 'save' no longer requires a filename (use default if not specified)
+
+'save' incorrectly returned status E (error) on success before.
+It now correctly returns S (success)
+
+----------
+
+API V1.10 (cgminer v2.4.1)
 
 Added API commands:
  'stats'
diff --git a/api.c b/api.c
index 0bc65e2..94c5239 100644
--- a/api.c
+++ b/api.c
@@ -158,7 +158,7 @@ static const char SEPARATOR = '|';
 #define SEPSTR "|"
 static const char GPUSEP = ',';
 
-static const char *APIVERSION = "1.10";
+static const char *APIVERSION = "1.11";
 static const char *DEAD = "Dead";
 static const char *SICK = "Sick";
 static const char *NOSTART = "NoStart";