Revision 8268c97a som/Tests/chunk_signaling_test.c

View differences:

som/Tests/chunk_signaling_test.c
103 103
  } else {
104 104
    /* Receive a chunk and print it! */        
105 105
    struct nodeID *owner;
106
    int sig_type, max_deliver, trans_id;
106
    int max_deliver, trans_id;
107
    enum signaling_type sig_type;
107 108
    int ret;
108 109
    struct nodeID *remote;    
109 110
    static uint8_t buff[BUFFSIZE];
110
    sig_type = max_deliver = trans_id = ret = 0;
111

  
112
    max_deliver = trans_id = ret = 0;
111 113
    ret = recv_from_peer(my_sock, &remote, buff, BUFFSIZE);   
112 114
    /* TODO: Error check! */
113 115
    if (buff[0] != MSG_TYPE_SIGNALLING) {

Also available in: Unified diff