Diff of /branches/1.8/modules/pua/send_publish.c [r10405] .. [r10406] Maximize Restore

  Switch to side-by-side view

--- a/branches/1.8/modules/pua/send_publish.c
+++ b/branches/1.8/modules/pua/send_publish.c
@@ -1,5 +1,5 @@
 /*
- * $Id: send_publish.c 9954 2013-04-10 16:49:21Z bogdan_iancu $
+ * $Id: send_publish.c 10406 2014-03-12 17:10:39Z opensipsrelease $
  *
  * pua module - presence user agent module
  *
@@ -409,6 +409,7 @@
 			memcpy(tuple_id.s, presentity->tuple_id.s, presentity->tuple_id.len);
 			tuple_id.len = presentity->tuple_id.len;
 		}
+               presentity->desired_expires= publ->expires + (int)time(NULL);
 
 		presentity->waiting_reply = 1;
 		presentity->cb_param = publ->cb_param;