summaryrefslogtreecommitdiff
path: root/net/libyahoo2/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-01 10:36:35 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-01 10:36:35 +0000
commit3fec57a168144ea1477bc7d8e20fcda67fb9aa34 (patch)
treedb917c08f9d71b02f03bf4cfa24333dbe489bf6f /net/libyahoo2/files
parentAdd checkpassword-pam 0.98, implementation of checkpassword (diff)
- Update to version 0.7.2
PR: 57445 Submitted by: Seth Kingsley <sethk@meowfishies.com>
Notes
Notes: svn path=/head/; revision=89958
Diffstat (limited to 'net/libyahoo2/files')
-rw-r--r--net/libyahoo2/files/patch-sample_client.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/net/libyahoo2/files/patch-sample_client.c b/net/libyahoo2/files/patch-sample_client.c
index ec4dc96f19ba..744c23d7224a 100644
--- a/net/libyahoo2/files/patch-sample_client.c
+++ b/net/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;