aboutsummaryrefslogtreecommitdiff
path: root/src/srv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/srv.rs')
-rw-r--r--src/srv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/srv.rs b/src/srv.rs
index bb1bb59..9c4388c 100644
--- a/src/srv.rs
+++ b/src/srv.rs
@@ -7,7 +7,7 @@ pub struct Srv {
}
impl Srv {
- pub fn new() -> Result<Srv, i32> {
+ pub fn init() -> Result<Srv, i32> {
unsafe {
let r = srvInit();
if r < 0 {