Changeset 44fa704e22ae1a744f040d1c7d9239a991449a99
- Timestamp:
- 05/27/10 17:40:47
(3 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1274982047 +0000
- git-parent:
[e20fb1d8dba51180495faf50e6b01af016c27bbb]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1274982047 +0000
- Message:
refs #284
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc2d49f8 |
r44fa704 |
|
| 412 | 412 | node = xmlXPathNodeSetItem(pobj->nodesetval, cnt-1); |
|---|
| 413 | 413 | /* 1. */ |
|---|
| 414 | | if(cnt > 1) { |
|---|
| | 414 | if(cnt > 1 && node) { |
|---|
| 415 | 415 | parent_node = xmlXPathNodeSetItem(pobj->nodesetval, cnt-2); |
|---|
| 416 | 416 | if(parent_node != current_node) |
|---|
| … | … | |
| 1095 | 1095 | |
|---|
| 1096 | 1096 | info = noit_console_userdata_get(ncct, NOIT_CONF_T_USERDATA); |
|---|
| 1097 | | if(info) path = basepath = info->path; |
|---|
| | 1097 | if(info && info->path) path = basepath = info->path; |
|---|
| 1098 | 1098 | if(!info && argc == 0) { |
|---|
| 1099 | 1099 | nc_printf(ncct, "argument required when not in configuration mode\n"); |
|---|
| … | … | |
| 1216 | 1216 | |
|---|
| 1217 | 1217 | node = (noit_conf_section_t)xmlXPathNodeSetItem(pobj->nodesetval, 0); |
|---|
| | 1218 | if(!node) { |
|---|
| | 1219 | err = "internal XML error"; |
|---|
| | 1220 | goto bad; |
|---|
| | 1221 | } |
|---|
| 1218 | 1222 | if(!strcmp((char *)node->name, "check") || |
|---|
| 1219 | 1223 | !strcmp((char *)node->name, "noit") || |
|---|