PennMUSH Community

Changeset 1170

Show
Ignore:
Timestamp:
12/30/07 06:40:59 (1 year ago)
Author:
shawnw
Message:

Ran make indent

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/trunk/src/funmath.c

    r1167 r1170  
    11301130    if (!is_number(args[1])) { 
    11311131      if (args[1][0] == 'e' && args[1][1] == '\0') 
    1132    base_is_e = true; 
     1132        base_is_e = true; 
    11331133      else { 
    1134    safe_str(T(e_nums), buff, bp); 
    1135    return; 
     1134        safe_str(T(e_nums), buff, bp); 
     1135        return; 
    11361136      } 
    1137     } else  
     1137    } else 
    11381138      base = parse_number(args[1]); 
    11391139 
  • 1.8.3/trunk/src/ssl_slave.c

    r919 r1170  
    218218 parse_arguments(int argc, char **argv, char *elog, char *mhost, 
    219219                 Port_t *mport, Port_t *lport, char *kfile, char *cafl); 
    220 static void logout_sock(CDESC *d); 
    221 static void shutdownsock(CDESC *d); 
     220static void logout_sock(CDESC * d); 
     221static void shutdownsock(CDESC * d); 
    222222static CDESC *initializesock(int s, char *addr, char *ip, int use_ssl); 
    223 int process_output(CDESC *d); 
    224 static int process_input(CDESC *d, int output_ready); 
    225 static void process_input_helper(CDESC *d, char *tbuf1, int got); 
     223int process_output(CDESC * d); 
     224static int process_input(CDESC * d, int output_ready); 
     225static void process_input_helper(CDESC * d, char *tbuf1, int got); 
    226226static void close_sockets(void); 
    227227static CDESC *connect_to_mush(const char *mush_host, Port_t mport); 
     
    229229static int test_connection(int newsock); 
    230230static CDESC *new_connection(int oldsock, int *result, int use_ssl); 
    231 static int queue_newwrite(CDESC *d, const unsigned char *b, int n); 
    232 static int send_text(CDESC *d, const unsigned char *b); 
    233 static int send_concentor_command(CDESC *d, const unsigned char *b); 
    234 static int send_concentor_text(CDESC *d, int player_id, const unsigned char *b); 
     231static int queue_newwrite(CDESC * d, const unsigned char *b, int n); 
     232static int send_text(CDESC * d, const unsigned char *b); 
     233static int send_concentor_command(CDESC * d, const unsigned char *b); 
     234static int send_concentor_text(CDESC * d, int player_id, 
     235                               const unsigned char *b); 
    235236static void process_commands(void); 
    236237 
     
    407408/* Send text to the MUSH from a player */ 
    408409static int 
    409 send_concentor_message(CDESC *d, int player_id, const unsigned char *b) 
     410send_concentor_message(CDESC * d, int player_id, const unsigned char *b) 
    410411{ 
    411412  unsigned char *message = 
     
    417418/* Send text with a player_id of -1 */ 
    418419static int 
    419 send_concentor_command(CDESC *d, const unsigned char *b) 
     420send_concentor_command(CDESC * d, const unsigned char *b) 
    420421{ 
    421422  return send_concentrator_message(d, -1, b); 
     
    529530 
    530531static void 
    531 queue_to_player(CDESC *d) 
     532queue_to_player(CDESC * d) 
    532533{ 
    533534  /* Parse a concentrator message from the MUSH in text blocks on 
     
    538539 
    539540static void 
    540 queue_to_mush(CDESC *d) 
     541queue_to_mush(CDESC * d) 
    541542{ 
    542543  /* Parse some text from a player and queue it to the MUSH as 
     
    633634 */ 
    634635static void 
    635 shutdownsock(CDESC *d) 
     636shutdownsock(CDESC * d) 
    636637{ 
    637638 
     
    721722 */ 
    722723int 
    723 process_output(CDESC *d) 
     724process_output(CDESC * d) 
    724725{ 
    725726  struct text_block **qp, *cur; 
     
    814815 
    815816static void 
    816 save_command(CDESC *d, const unsigned char *command) 
     817save_command(CDESC * d, const unsigned char *command) 
    817818{ 
    818819  add_to_queue(&d->input, command, u_strlen(command) + 1); 
     
    821822 
    822823static void 
    823 process_input_helper(CDESC *d, char *tbuf1, int got) 
     824process_input_helper(CDESC * d, char *tbuf1, int got) 
    824825{ 
    825826  unsigned char *p, *pend, *q, *qend; 
     
    870871/* ARGSUSED */ 
    871872static int 
    872 process_input(CDESC *d, int output_ready) 
     873process_input(CDESC * d, int output_ready) 
    873874{ 
    874875  int got = 0; 
     
    10521053 
    10531054static int 
    1054 send_text(CDESC *d, const unsigned char *b) 
     1055send_text(CDESC * d, const unsigned char *b) 
    10551056{ 
    10561057  int l = u_strlen(b); 
     
    10651066 */ 
    10661067static int 
    1067 queue_newwrite(CDESC *d, const unsigned char *b, int n) 
     1068queue_newwrite(CDESC * d, const unsigned char *b, int n) 
    10681069{ 
    10691070  int space;