src/protocols/jabber/iq.c

changeset 9722
c1072806bcae
parent 9709
2e73f176cc80
child 10487
4a37cce04215
equal deleted inserted replaced
9721:2bc233fb1564 9722:c1072806bcae
168 JabberIq *iq; 168 JabberIq *iq;
169 char buf[1024]; 169 char buf[1024];
170 xmlnode *query; 170 xmlnode *query;
171 time_t now_t; 171 time_t now_t;
172 struct tm *now; 172 struct tm *now;
173
173 time(&now_t); 174 time(&now_t);
174 now = localtime(&now_t); 175 now = localtime(&now_t);
175 176
176 type = xmlnode_get_attrib(packet, "type"); 177 type = xmlnode_get_attrib(packet, "type");
177 from = xmlnode_get_attrib(packet, "from"); 178 from = xmlnode_get_attrib(packet, "from");

mercurial