Version: 1
-Previous: da0c6bbd86647aee44ed968f1e1685b2931eec0d
-Head: 635f1521dbe9fd405d6429a48fb7bd990d312997
+Previous: 742a1d661b743aaf9871c1b67e94abf5120fb8f7
+Head: 38bf8c7653d22d280109485b3adfbc1d799feecd
Applied:
lmc: b355854c79a1e446e87684a41663ad5aae258b73
lid: 1c005908ee6c257f6fa290df8ce8a45e968d07ab
acme_gid: 160551b2a4bed277f4c81b52ef33a184f43ca783
range: 635f1521dbe9fd405d6429a48fb7bd990d312997
+ refresh-temp: 38bf8c7653d22d280109485b3adfbc1d799feecd
Unapplied:
Hidden:
--- /dev/null
+Bottom: 1ab5f7833d1baaba821d175e19964a67ad69afe5
+Top: 95be46d944a0b8ad21ebe86340c99c1691ee887f
+Author: Sean Hefty <sean.hefty@intel.com>
+Date: 2010-12-17 12:07:36 -0800
+
+Refresh of range
+
+---
+
+diff --git a/src/parse.c b/src/parse.c
+index e90fb09..d1c820f 100644
+--- a/src/parse.c
++++ b/src/parse.c
+@@ -80,8 +80,15 @@ char **parse(char *args, int *count)
+ cpy = malloc(strlen(args) + 1);
+ strcpy(cpy, args);
+
+- token = strtok(cpy, "[");
+- next = strtok(NULL, "]");
++ if (args[0] == '[') {
++ cpy[0] = '\0';
++ token = cpy;
++ next = strtok(cpy + 1, "]");
++ } else {
++ token = strtok(cpy, "[");
++ next = strtok(NULL, "]");
++ }
++
+ if (!next) {
+ str_size = strlen(token) + 1;
+ str_buf = malloc(str_size);