Searched refs:loc (Results 1 – 1 of 1) sorted by relevance
399 unsigned char *loc; in hnd_post_rd() local404 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd()405 if (!loc) { in hnd_post_rd()409 memcpy(loc, RD_ROOT_STR, RD_ROOT_SIZE); in hnd_post_rd()412 loc[loc_size++] = '/'; in hnd_post_rd()428 memcpy(loc + loc_size, h.s, min(h.length, LOCSIZE - loc_size - 1)); in hnd_post_rd()432 loc[loc_size++] = '-'; in hnd_post_rd()433 memcpy((char *)(loc + loc_size), in hnd_post_rd()440 snprintf((char *)(loc + loc_size), LOCSIZE - loc_size - 1, in hnd_post_rd()445 loc[loc_size++] = '-'; in hnd_post_rd()[all …]