comparison mcabber/src/jab_iq.c @ 1460:af54d33facd0

Fix two comments
author Mikael Berthe <mikael@lilotux.net>
date Fri, 11 Apr 2008 21:59:06 +0200
parents 317f8d181626
children 8fa24a6d1a93
comparison
equal deleted inserted replaced
1459:d76eff4ed71d 1460:af54d33facd0
1109 static char *generate_session_id(char *prefix) 1109 static char *generate_session_id(char *prefix)
1110 { 1110 {
1111 char *result; 1111 char *result;
1112 static int counter = 0; 1112 static int counter = 0;
1113 counter++; 1113 counter++;
1114 // TODO better use timezone ? 1114 // TODO better use timestamp?
1115 result = g_strdup_printf("%s-%i", prefix, counter); 1115 result = g_strdup_printf("%s-%i", prefix, counter);
1116 return result; 1116 return result;
1117 } 1117 }
1118 1118
1119 static void handle_iq_command_set_status(jconn conn, char *from, const char *id, 1119 static void handle_iq_command_set_status(jconn conn, char *from, const char *id,