Changeset 73b1a8e for protocols/msn


Ignore:
Timestamp:
2015-04-10T17:10:41Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
3058c30
Parents:
913a663
git-author:
dequis <dx@…> (19-03-15 10:25:33)
git-committer:
dequis <dx@…> (10-04-15 17:10:41)
Message:

get_rfc822_header: allow headers at the end of a string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    r913a663 r73b1a8e  
    304304                g_free(resp);
    305305                return st;
     306        } else if (strcmp(cmd[0], "QRY") == 0) {
     307                /* CONGRATULATIONS */
    306308        } else if (strcmp(cmd[0], "OUT") == 0) {
    307309                int allow_reconnect = TRUE;
     
    326328                if (num_parts >= 3) {
    327329                        handler->msglen = atoi(cmd[2]);
     330                }
     331        } else if (strcmp(cmd[0], "PUT") == 0) {
     332                if (num_parts >= 4) {
     333                        handler->msglen = atoi(cmd[3]);
    328334                }
    329335        } else if (strcmp(cmd[0], "QNG") == 0) {
Note: See TracChangeset for help on using the changeset viewer.