Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 16/04/2010 at 21:50:13 Revision: 4338 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Remove disabled code from hipd/registration.c. Modified: M hipd/registration.c === modified file 'hipd/registration.c' --- hipd/registration.c 2010-04-14 16:46:51 +0000 +++ hipd/registration.c 2010-04-16 18:50:02 +0000 @@ -1020,18 +1020,6 @@ failure_types[*refused_count] = HIP_REG_TYPE_UNAVAILABLE; (*refused_count)++; -#if 0 - /* Commented this part of the code out to - * allow consequtive registration without - * service cancellation to support host reboots - * -miika */ - } else if (fetch_record != NULL) { - HIP_DEBUG("Cancellation required.\n"); - refused_requests[*refused_count] = reg_types[i]; - failure_types[*refused_count] = - HIP_REG_CANCEL_REQUIRED; - (*refused_count)++; -#endif } else if (hip_relwl_get_status() == HIP_RELAY_WL_ON && hip_relwl_get(&dummy.hit_r) == NULL) { HIP_DEBUG("Client is not whitelisted.\n");