diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:34:23 -0700 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:34:23 -0700 |
commit | 552e641194147078c7858059df9916d5d548b7a1 (patch) | |
tree | a085ab8181998c3efc0b2c9c7a2b651372aa7503 /protocols/msn/ns.c | |
parent | aef4828a1dc51de10a43bb7dd5d023de9971295b (diff) |
Now that all these functions take format strings, I have to make sure I
use that and don't introduce vulnerabilities. :-)
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r-- | protocols/msn/ns.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index e4530b8f..81ad1941 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -670,15 +670,9 @@ static void msn_auth_got_passport_id( struct passport_reply *rep ) if( key == NULL ) { - char *err; - - err = g_strdup_printf( "Error during Passport authentication (%s)", - rep->error_string ? rep->error_string : "Unknown error" ); - - imc_error( ic, err ); + imc_error( ic, "Error during Passport authentication (%s)", + rep->error_string ? rep->error_string : "Unknown error" ); imc_logout( ic ); - - g_free( err ); } else { |