| verzia 1.5, 2001/11/12 20:19:10 |
verzia 1.6, 2001/11/14 16:00:08 |
|
|
| /* |
/* |
| * Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk> |
* Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk> |
| * $Log$ |
* $Log$ |
| |
* Revision 1.6 2001/11/14 16:00:08 host8 |
| |
* Changed some debug messages. |
| |
* Improvements in cookies (still not works fine). |
| |
* |
| * Revision 1.5 2001/11/12 20:19:10 host8 |
* Revision 1.5 2001/11/12 20:19:10 host8 |
| * http_connect() probably works fine. |
* http_connect() probably works fine. |
| * Some problems with http_requests for www.mtnsms.com. |
* Some problems with http_requests for www.mtnsms.com. |
| Riadok 54 static char *get_string(int what, int si |
|
| Riadok 58 static char *get_string(int what, int si |
|
| #ifdef DEBUG |
#ifdef DEBUG |
| if (silence) { |
if (silence) { |
| if (what) { |
if (what) { |
| fprintf(stderr, "Looking for passwd for site %s...\n", site); |
fprintf(stderr, "PASSWD: Looking for passwd for site %s...\n", site); |
| } else { |
} else { |
| fprintf(stderr, "Looking for login for site %s...\n", site); |
fprintf(stderr, "PASSWD: Looking for login for site %s...\n", site); |
| } |
} |
| } |
} |
| #endif |
#endif |
| Riadok 90 static char *get_string(int what, int si |
|
| Riadok 94 static char *get_string(int what, int si |
|
| #ifdef DEBUG |
#ifdef DEBUG |
| else |
else |
| if (debug > 7) |
if (debug > 7) |
| fprintf(stderr, "Login readed successfully (%d chars).\n", |
fprintf(stderr, "PASSWD: Login readed successfully (%d chars).\n", |
| strlen(str)); |
strlen(str)); |
| #endif |
#endif |
| if (what == 0) { |
if (what == 0) { |
| Riadok 109 static char *get_string(int what, int si |
|
| Riadok 113 static char *get_string(int what, int si |
|
| #ifdef DEBUG |
#ifdef DEBUG |
| else |
else |
| if (debug > 7) |
if (debug > 7) |
| fprintf(stderr, "Password readed successfully (%d chars).\n", |
fprintf(stderr, "PASSWD: Password readed successfully (%d chars).\n", |
| strlen(str)); |
strlen(str)); |
| #endif |
#endif |
| return (strrmeol(str)); |
return (strrmeol(str)); |