Changeset 6

Show
Ignore:
Timestamp:
10/14/08 04:27:54 (3 months ago)
Author:
leafnode
Message:

- message fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ggpub.c

    r5 r6  
    123123      fprintf(stderr, " -b <val> (--born)      - year of birth\n"); 
    124124      fprintf(stderr, " -s <val> (--start)     - search offset\n"); 
    125       fprintf(stderr, " -a       (--all)       - show all\n"); 
     125      fprintf(stderr, " -A       (--all)       - show all\n"); 
    126126      return 1; 
    127127   } 
     
    138138 
    139139   if (!(sess = gg_login(&p))) { 
    140       printf("Nie uda³o siê po³±czyæ: %s\n", strerror(errno)); 
     140      printf("Connection failed: %s\n", strerror(errno)); 
    141141      gg_free_session(sess); 
    142142      return 1; 
     
    173173 
    174174      if (!uin) { 
    175          printf("user_not_found (%s)\n", user); 
     175         printf("User not found (%s)\n", user); 
    176176         return 1; 
    177177      } 
     
    262262 
    263263   if (!gg_pubdir50(sess, req)) { 
    264       printf("search_failed\n"); 
     264      printf("Search failed\n"); 
    265265      return 1; 
    266266   } 
     
    276276   while (1) { 
    277277      if (!(e = gg_watch_fd(sess))) { 
    278          printf("Po³±czenie przerwane: %s\n", strerror(errno)); 
     278         printf("Connection interrupted: %s\n", strerror(errno)); 
    279279         gg_logoff(sess); 
    280280         gg_free_session(sess); 
     
    283283 
    284284      if (e->type == GG_EVENT_PUBDIR50_SEARCH_REPLY) { 
    285          printf("Wynik przyszed³! :)\n"); 
     285         printf("Received results!\n"); 
    286286         res = e->event.pubdir50; 
    287287         all = i = 0;