diff options
author | krion <krion@FreeBSD.org> | 2003-10-01 18:36:35 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-10-01 18:36:35 +0800 |
commit | b408658030005f95258e2ff4500cee181ca21699 (patch) | |
tree | cf0a45cc8908ecede6e0d31df797e2883d712688 /net-im/libyahoo2/files | |
parent | 9730ad0249809867548cfa63a78d56b71e3a9c16 (diff) | |
download | freebsd-ports-gnome-b408658030005f95258e2ff4500cee181ca21699.tar.gz freebsd-ports-gnome-b408658030005f95258e2ff4500cee181ca21699.tar.zst freebsd-ports-gnome-b408658030005f95258e2ff4500cee181ca21699.zip |
- Update to version 0.7.2
PR: 57445
Submitted by: Seth Kingsley <sethk@meowfishies.com>
Diffstat (limited to 'net-im/libyahoo2/files')
-rw-r--r-- | net-im/libyahoo2/files/patch-sample_client.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/net-im/libyahoo2/files/patch-sample_client.c b/net-im/libyahoo2/files/patch-sample_client.c index ec4dc96f19ba..744c23d7224a 100644 --- a/net-im/libyahoo2/files/patch-sample_client.c +++ b/net-im/libyahoo2/files/patch-sample_client.c @@ -1,5 +1,5 @@ ---- src/sample_client.c.orig Sat May 17 03:33:06 2003 -+++ src/sample_client.c Wed May 21 08:38:45 2003 +--- src/sample_client.c.orig Sun Sep 28 10:40:03 2003 ++++ src/sample_client.c Tue Sep 30 21:35:55 2003 @@ -52,7 +52,6 @@ #include <yahoo2_callbacks.h> #include "yahoo_util.h" @@ -8,7 +8,7 @@ #define MAX_PREF_LEN 255 -@@ -186,7 +185,6 @@ +@@ -177,7 +176,6 @@ FILE *popen(const char *command, const char *type); int pclose(FILE *stream); @@ -16,3 +16,21 @@ static char * get_local_addresses() { +@@ -577,7 +575,7 @@ + if(tm) { + char timestr[255]; + +- strncpy(timestr, ctime(&tm), sizeof(timestr)); ++ strncpy(timestr, ctime((time_t *)&tm), sizeof(timestr)); + timestr[strlen(timestr) - 1] = '\0'; + + print_message(("[Offline message at %s from %s]: %s", +@@ -654,7 +652,7 @@ + } + + void ext_yahoo_got_webcam_image(int id, const char *who, +- unsigned char *image, unsigned int image_size, unsigned int real_size, ++ const unsigned char *image, unsigned int image_size, unsigned int real_size, + unsigned int timestamp) + { + static unsigned char *cur_image = NULL; |