This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
solstice
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Remove superfluous version constants.
wip
Titouan Rigoudy
4 years ago
parent
af0efdf41d
commit
f70c7d5dfe
2 changed files
with
1 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
client/src/client.rs
+0
-3
proto/src/config.rs
+ 1
- 4
client/src/client.rs
View File
@ -82,10 +82,7 @@ impl Client {
)
.
unwrap
(
)
;
let
version
=
server
::
Version
{
major
:
config
::
VER_MAJOR
,
minor
:
config
::
VER_MINOR
,
}
;
let
version
=
server
::
Version
::
default
(
)
;
self
.
send_to_server
(
credentials
.
into_login_request
(
version
)
.
into
(
)
)
;
+ 0
- 3
proto/src/config.rs
View File
@ -1,6 +1,3 @@
pub
const
VER_MAJOR
:
u32
=
181
;
pub
const
VER_MINOR
:
u32
=
100
;
pub
const
USERNAME
:
&
'static
str
=
"solstice"
;
// The password is not used for much, and sent unencrypted over the wire, so
// why not even check it in to git
Write
Preview
Loading…
Cancel
Save