This commit is contained in:
Olof hagsand 2016-03-07 22:09:52 +01:00
commit 2b254e5e67

View file

@ -143,9 +143,8 @@ xmldb_put_rpc(clicon_handle h,
opstr = "merge"; opstr = "merge";
break; break;
case OP_NONE: case OP_NONE:
opstr = "none";
break;
default: default:
opstr = "none";
break; break;
} }
cprintf(cb, "<default-operation>%s</default-operation>", opstr); cprintf(cb, "<default-operation>%s</default-operation>", opstr);
@ -199,9 +198,8 @@ xmldb_put_xkey_rpc(clicon_handle h,
opstr = "merge"; opstr = "merge";
break; break;
case OP_NONE: case OP_NONE:
opstr = "none";
break;
default: default:
opstr = "none";
break; break;
} }
cprintf(cb, "<default-operation>%s</default-operation>", opstr); cprintf(cb, "<default-operation>%s</default-operation>", opstr);