Skip to content

Commit eff6f5a

Browse files
author
David LeBlanc
committed
Two more tabs
1 parent ed30252 commit eff6f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unpack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static inline int template_callback_map(unpack_user* u, unsigned int n, msgpack_
242242
return MSGPACK_UNPACK_NOMEM_ERROR;
243243
}
244244

245-
size = (unsigned int)tmp;
245+
size = (unsigned int)tmp;
246246

247247
if (*u->z == NULL) {
248248
*u->z = msgpack_zone_new(MSGPACK_ZONE_CHUNK_SIZE);
@@ -251,7 +251,7 @@ static inline int template_callback_map(unpack_user* u, unsigned int n, msgpack_
251251
}
252252
}
253253

254-
// Should size = 0 be an error? If so, what error to return?
254+
// Should size = 0 be an error? If so, what error to return?
255255
o->via.map.ptr = (msgpack_object_kv*)msgpack_zone_malloc(*u->z, size);
256256
if(o->via.map.ptr == NULL) { return MSGPACK_UNPACK_NOMEM_ERROR; }
257257
return 0;

0 commit comments

Comments
 (0)