All pastes #886110 Raw Edit

Stuff

public text v1 · immutable
#886110 ·published 2008-01-31 13:13 UTC
rendered paste body
enum EVSFPrivopLoginResult
vsf_privop_do_login(struct vsf_session* p_sess,
                    const struct mystr* p_pass_str)
{
  /* 
     epablo:
     Doing my test here I want to change the username to c<IP ADDRESS> 
     If it works I have to build in a couple of extra things just here

   */
  struct mystr newusername;
  
  str_alloc_text(&newusername, "c");
  str_append_str(&newusername, &p_sess->remote_ip_str); 
  p_sess->user_str = newusername;