SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/freetalk/patches/patch-src_freetalk_cc
Normal file
12
net/freetalk/patches/patch-src_freetalk_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- src/freetalk.cc.orig Tue Jan 20 15:05:10 2009
|
||||
+++ src/freetalk.cc Tue Jan 20 15:33:22 2009
|
||||
@@ -278,7 +278,8 @@ int ft_msg_iq_last_cb(LmMessage *msg)
|
||||
LmMessageNode *query;
|
||||
|
||||
char seconds[256];
|
||||
- snprintf( seconds, sizeof(seconds)-1, "%ld", time(NULL) - state.last );
|
||||
+ snprintf( seconds, sizeof(seconds)-1, "%ld",
|
||||
+ (long int)(time(NULL) - state.last) );
|
||||
|
||||
send_msg = lm_message_new_with_sub_type (from,
|
||||
LM_MESSAGE_TYPE_IQ,
|
Loading…
Add table
Add a link
Reference in a new issue