Changeset 3947 for neercs


Ignore:
Timestamp:
Nov 18, 2009, 6:11:13 PM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fix indentation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r3946 r3947  
    3838static void server_init(struct screen_list *screen_list);
    3939static int refresh_screen(struct screen_list *screen_list, int refresh);
    40 static int handle_key(struct screen_list *screen_list, unsigned int c, int refresh);
     40static int handle_key(struct screen_list *screen_list, unsigned int c,
     41                      int refresh);
    4142static int handle_attach(struct screen_list *screen_list, char *buf);
    4243
     
    298299
    299300static int refresh_screen(struct screen_list *screen_list, int refresh)
    300 {   
     301{
    301302    if (!screen_list->attached)
    302303    {
     
    308309    {
    309310        long long unsigned int current_time = get_us();
    310         long long int tdiff = (current_time - screen_list->last_refresh_time) / 1000;
    311        
    312        
     311        long long int tdiff =
     312            (current_time - screen_list->last_refresh_time) / 1000;
     313
     314
    313315        if (screen_list->force_refresh)
    314316        {
     
    316318            request_refresh(screen_list);
    317319        }
    318        
    319        
     320
    320321        /* Draw lock window */
    321322        if (screen_list->locked)
     
    367368        }
    368369    }
    369  
     370
    370371    return 1;
    371372}
     
    441442}
    442443
    443 static int handle_key(struct screen_list *screen_list, unsigned int c, int refresh)
     444static int handle_key(struct screen_list *screen_list, unsigned int c,
     445                      int refresh)
    444446{
    445447    char *str = NULL;
Note: See TracChangeset for help on using the changeset viewer.