jingle/action-handlers.c
changeset 161 fa1d993d05b6
parent 158 a068e5714120
child 165 763c26abd99d
equal deleted inserted replaced
160:e149e868d501 161:fa1d993d05b6
   244     sc = session_find_sessioncontent(sess, jc->name);
   244     sc = session_find_sessioncontent(sess, jc->name);
   245     if (sc == NULL) continue;
   245     if (sc == NULL) continue;
   246     session_changestate_sessioncontent(sess, jc->name,
   246     session_changestate_sessioncontent(sess, jc->name,
   247                                        JINGLE_SESSION_STATE_ACTIVE);
   247                                        JINGLE_SESSION_STATE_ACTIVE);
   248     sc->transfuncs->handle(JINGLE_SESSION_ACCEPT, sc->transport, jc->transport, NULL);
   248     sc->transfuncs->handle(JINGLE_SESSION_ACCEPT, sc->transport, jc->transport, NULL);
   249     sc->transfuncs->init(sc2);
   249     sc->transfuncs->init(sc2, sc->transport);
   250   }
   250   }
   251 
   251 
   252   // We delete content who haven't been accepted
   252   // We delete content who haven't been accepted
   253   for (el = sess->content; el; el = el->next) {
   253   for (el = sess->content; el; el = el->next) {
   254     sc = (SessionContent*) el->data;
   254     sc = (SessionContent*) el->data;