diff options
author | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
---|---|---|
committer | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
commit | 686cf083c79fce3a032d229bb1b7ea8ed49046c0 (patch) | |
tree | 7cf2c333b0c63e8286a58f84215bfb55b8f83fb6 /client/Piztor/src/com/macaroon/piztor/ReqLogin.java | |
parent | 6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff) |
add new network, but userinfo need to rewrite.
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ReqLogin.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/ReqLogin.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ReqLogin.java b/client/Piztor/src/com/macaroon/piztor/ReqLogin.java index 294cae3..23aba93 100644 --- a/client/Piztor/src/com/macaroon/piztor/ReqLogin.java +++ b/client/Piztor/src/com/macaroon/piztor/ReqLogin.java @@ -1,16 +1,16 @@ -package com.macaroon.piztor; - -//--------------------------------------// -// authentication // -//--------------------------------------// - -public class ReqLogin extends Req{ - String user; //username - String pass; //password - - ReqLogin(String u,String p,long time,long alive){ - super(0,0,time,alive); //for type 0 - user = u; - pass = p; - } +package com.macaroon.piztor;
+
+//--------------------------------------//
+// authentication //
+//--------------------------------------//
+
+public class ReqLogin extends Req{
+ String user; //username
+ String pass; //password
+
+ ReqLogin(String u,String p,long time,long alive){
+ super(0,"","",time,alive); //for type 0
+ user = u;
+ pass = p;
+ }
}
\ No newline at end of file |