Ignore:
Timestamp:
Mar 2, 2008, 4:02:22 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Remove a few duplicate prototype declarations.
  • Add some harmless "%s" in sprintf() calls.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/innet.cpp

    r56 r58  
    411411    if (reg==2)   // too many players
    412412    {
    413       fprintf(stderr,symbol_str("max_players"));
     413      fprintf(stderr, "%s", symbol_str("max_players"));
    414414      delete sock;
    415415      return 0;
     
    421421    if (reg && !registered)
    422422    {
    423       fprintf(stderr,symbol_str("net_not_reg"));
     423      fprintf(stderr, "%s", symbol_str("net_not_reg"));
    424424      delete sock;
    425425      return 0;
     
    428428    if (!reg && registered)
    429429    {
    430       fprintf(stderr,symbol_str("server_not_reg"));
     430      fprintf(stderr, "%s", symbol_str("server_not_reg"));
    431431      delete sock;
    432432      return 0;
Note: See TracChangeset for help on using the changeset viewer.