浏览代码

permissions: rpc commands updated to use rpl_printf()

Daniel-Constantin Mierla 11 年之前
父节点
当前提交
1926e1412b
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      modules/permissions/mi.c

+ 4 - 4
modules/permissions/mi.c

@@ -63,7 +63,7 @@ void rpc_trusted_reload(rpc_t* rpc, void* c) {
 		return;
 	}
 
-	rpc->printf(c, "Reload OK");
+	rpc->rpl_printf(c, "Reload OK");
 	return;
 }
 
@@ -130,7 +130,7 @@ void rpc_address_reload(rpc_t* rpc, void* c) {
 		return;
 	}
 
-	rpc->printf(c, "Reload OK");
+	rpc->rpl_printf(c, "Reload OK");
 	return;
 }
 
@@ -325,9 +325,9 @@ void rpc_test_uri(rpc_t* rpc, void* c)
     	uri[urip.len] = 0;
 
 	if (allow_test(basename, uri, contact) == 1) {
-		rpc->printf(c, "Allowed");
+		rpc->rpl_printf(c, "Allowed");
 		return;
 	}
-	rpc->printf(c, "Denied");
+	rpc->rpl_printf(c, "Denied");
 	return;
 }