Skip to content

Commit

Permalink
fix -Wuninitialized warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulim committed Jun 6, 2008
1 parent 618f641 commit 8eb6f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions otrutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ char *otr_contexts() {
case OTRL_MSGSTATE_PLAINTEXT: state = "plaintext";break;
case OTRL_MSGSTATE_ENCRYPTED: state = "%gencrypted%n";break;
case OTRL_MSGSTATE_FINISHED: state = "finished ";break;
default: state = "unknown state(BUG)";break;
}
s += sprintf(s,"%%9%20s%%9 %30s %s\n",context->username,
context->accountname,state);
Expand Down

0 comments on commit 8eb6f60

Please sign in to comment.