diff --git a/src/json2torrent.c b/src/json2torrent.c index 0bf3e60..3ebe3c8 100644 --- a/src/json2torrent.c +++ b/src/json2torrent.c @@ -50,7 +50,7 @@ yajl_callbacks callbacks = { NULL, /* number */ write_string, /* string */ write_dict_start, /* start map */ - NULL, /* map key */ + write_string, /* map key */ write_end, /* end map */ write_list_start, /* start array */ write_end /* end array */