Commit 65137e55 authored by chenhaowen's avatar chenhaowen

add: exit_auth api

parent 7347faef
#CC:=gcc #CC:=gcc
VERSION:=1.6.2 VERSION:=1.6.3
CFLAGS+= -Wall -fPIC -DDEBUG -DVERSION=\"$(VERSION)\" CFLAGS+= -Wall -fPIC -DDEBUG -DVERSION=\"$(VERSION)\"
objects= config.o auth.o objects= config.o auth.o
......
...@@ -42,7 +42,7 @@ void set_enable_crypt(int enable) ...@@ -42,7 +42,7 @@ void set_enable_crypt(int enable)
void get_version(char* version) void get_version(char* version)
{ {
memcpy(version, VERSION, strlen(VERSION)); strcpy(version, VERSION);
} }
void set_log_file(char * log_file, int len) void set_log_file(char * log_file, int len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment