Changeset 851


Ignore:
Timestamp:
04/30/10 18:23:45 (22 months ago)
Author:
elly
Message:

Fix unchecked copy in PROTOCOL command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/commands/protocol.c

    r831 r851  
    3333    /* A missing protocol is considered to be a fatal error */ 
    3434    if ((proto = find_protocol(argv[1])) == NULL) { 
    35         sprintf(emsg, "protocol %s not supported", argv[1]); 
     35        snprintf(emsg, sizeof(emsg), "protocol %s not supported", argv[1]); 
    3636        destroy_connection(cp, emsg); 
    3737        return IRCD_CONNECTION_CLOSED; 
Note: See TracChangeset for help on using the changeset viewer.