Changeset 278
- Timestamp:
- 04/09/03 09:45:10 (6 years ago)
- Files:
-
- branches/JGGTRANS_B_1_4/src/requests.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/JGGTRANS_B_1_4/src/requests.c
r276 r278 1 /* $Id: requests.c,v 1.19.2. 2 2003/04/09 07:39:44jajcus Exp $ */1 /* $Id: requests.c,v 1.19.2.3 2003/04/09 07:45:10 jajcus Exp $ */ 2 2 3 3 /* … … 30 30 31 31 static GList *requests=NULL; 32 GHashTable *lookups=NULL; 32 static GHashTable *lookups=NULL; 33 static int id_counter=0; 33 34 34 35 int requests_init(){ 36 37 id_counter=time(NULL); 35 38 lookups=g_hash_table_new(g_int_hash, g_int_equal); 36 39 if(!lookups) … … 133 136 s=session_get_by_jid(from, stream); 134 137 if (s==NULL) return NULL; 135 136 r->hash=time(NULL); 138 r->hash=id_counter++; 137 139 gg_pubdir50_seq_set((gg_pubdir50_t)data, r->hash); 138 140 gg_pubdir50(s->ggs, (gg_pubdir50_t)data);
