Lines 1-5
Link Here
|
1 |
--- src/sample_client.c.orig Sat May 17 03:33:06 2003 |
1 |
--- src/sample_client.c.orig Sun Sep 28 10:40:03 2003 |
2 |
+++ src/sample_client.c Wed May 21 08:38:45 2003 |
2 |
+++ src/sample_client.c Tue Sep 30 21:35:55 2003 |
3 |
@@ -52,7 +52,6 @@ |
3 |
@@ -52,7 +52,6 @@ |
4 |
#include <yahoo2_callbacks.h> |
4 |
#include <yahoo2_callbacks.h> |
5 |
#include "yahoo_util.h" |
5 |
#include "yahoo_util.h" |
Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
#define MAX_PREF_LEN 255 |
10 |
#define MAX_PREF_LEN 255 |
11 |
@@ -186,7 +185,6 @@ |
11 |
@@ -177,7 +176,6 @@ |
12 |
|
12 |
|
13 |
FILE *popen(const char *command, const char *type); |
13 |
FILE *popen(const char *command, const char *type); |
14 |
int pclose(FILE *stream); |
14 |
int pclose(FILE *stream); |
Lines 16-18
Link Here
|
16 |
|
16 |
|
17 |
static char * get_local_addresses() |
17 |
static char * get_local_addresses() |
18 |
{ |
18 |
{ |
|
|
19 |
@@ -577,7 +575,7 @@ |
20 |
if(tm) { |
21 |
char timestr[255]; |
22 |
|
23 |
- strncpy(timestr, ctime(&tm), sizeof(timestr)); |
24 |
+ strncpy(timestr, ctime((time_t *)&tm), sizeof(timestr)); |
25 |
timestr[strlen(timestr) - 1] = '\0'; |
26 |
|
27 |
print_message(("[Offline message at %s from %s]: %s", |
28 |
@@ -654,7 +652,7 @@ |
29 |
} |
30 |
|
31 |
void ext_yahoo_got_webcam_image(int id, const char *who, |
32 |
- unsigned char *image, unsigned int image_size, unsigned int real_size, |
33 |
+ const unsigned char *image, unsigned int image_size, unsigned int real_size, |
34 |
unsigned int timestamp) |
35 |
{ |
36 |
static unsigned char *cur_image = NULL; |