diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-15 22:46:22 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-15 22:46:22 +0200 |
commit | d74c644550bdb7c0d7bb41ce6c01ef2a470465d6 (patch) | |
tree | b95cd11bf6e50bd451076aad490c6cd9d2c5d18d | |
parent | 788a1afa9628aeaf9d69fc53f49131a4330253cf (diff) | |
parent | 5eec897b4d962e643e26574d1bffc22ffcaddac6 (diff) |
Merge from devel.
-rw-r--r-- | protocols/msn/passport.c | 1 | ||||
-rw-r--r-- | set.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/protocols/msn/passport.c b/protocols/msn/passport.c index 42b6ea73..9fe6a174 100644 --- a/protocols/msn/passport.c +++ b/protocols/msn/passport.c @@ -211,6 +211,7 @@ static void passport_retrieve_dalogin_ready( struct http_request *req ) if( passport_get_id_real( rep->func, rep->data, rep->header ) ) { + rep->header = NULL; destroy_reply( rep ); return; } @@ -174,6 +174,10 @@ char *set_eval_int( set_t *set, char *value ) { char *s; + /* Allow a minus at the first position. */ + if( *s == '-' ) + s ++; + for( s = value; *s; s ++ ) if( !isdigit( *s ) ) return NULL; |