Changeset 6
- Timestamp:
- 10/14/08 04:27:54 (3 months ago)
- Files:
-
- trunk/ggpub.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ggpub.c
r5 r6 123 123 fprintf(stderr, " -b <val> (--born) - year of birth\n"); 124 124 fprintf(stderr, " -s <val> (--start) - search offset\n"); 125 fprintf(stderr, " - a(--all) - show all\n");125 fprintf(stderr, " -A (--all) - show all\n"); 126 126 return 1; 127 127 } … … 138 138 139 139 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)); 141 141 gg_free_session(sess); 142 142 return 1; … … 173 173 174 174 if (!uin) { 175 printf(" user_not_found (%s)\n", user);175 printf("User not found (%s)\n", user); 176 176 return 1; 177 177 } … … 262 262 263 263 if (!gg_pubdir50(sess, req)) { 264 printf(" search_failed\n");264 printf("Search failed\n"); 265 265 return 1; 266 266 } … … 276 276 while (1) { 277 277 if (!(e = gg_watch_fd(sess))) { 278 printf(" Po³±czenie przerwane: %s\n", strerror(errno));278 printf("Connection interrupted: %s\n", strerror(errno)); 279 279 gg_logoff(sess); 280 280 gg_free_session(sess); … … 283 283 284 284 if (e->type == GG_EVENT_PUBDIR50_SEARCH_REPLY) { 285 printf(" Wynik przyszed³! :)\n");285 printf("Received results!\n"); 286 286 res = e->event.pubdir50; 287 287 all = i = 0;
