Revision f33e6bbd src/CloudSupport/cloud_helper_utils.c

View differences:

src/CloudSupport/cloud_helper_utils.c
155 155

  
156 156
  timeout = *tout;
157 157
  if (step_tout == NULL) {
158
    /* If step time not specified use a standard value of 100 milliseconds */
158 159
    step_time = malloc(sizeof(struct timeval));
159 160
    step_time->tv_sec = 0;
160 161
    step_time->tv_usec = 100000;
161 162
  } else {
162
    *step_time = *step_tout;
163
    /* Otherwise use the specified value */
164
    step_time = step_tout;
163 165
  }
164 166

  
165 167
  turn = DATA_SOURCE_NET;

Also available in: Unified diff