Permalink
Browse files

Fixing an assignment issue

  • Loading branch information...
1 parent f6b18e3 commit d581e726347056816e8d71832ce1461acde4e81d @amir amir committed Mar 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 bti.c
View
@@ -766,7 +766,7 @@ int main(int argc, char *argv[], char *envp[])
}
if (!session->user)
- session->user = session->account;
+ session->user = strdup(session->account);
dbg("account = %s\n", session->account);
dbg("password = %s\n", session->password);

0 comments on commit d581e72

Please sign in to comment.