Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gdut-drcom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gdut-drcom
Commits
8b96d708
Commit
8b96d708
authored
Dec 05, 2016
by
chenhaowen01
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: get_version
parent
584bce2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/Makefile
src/Makefile
+1
-1
src/config.c
src/config.c
+1
-1
No files found.
src/Makefile
View file @
8b96d708
#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
...
...
src/config.c
View file @
8b96d708
...
@@ -41,7 +41,7 @@ void set_enable_crypt(int enable)
...
@@ -41,7 +41,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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment