Revision a972337c plugins/janus_videoroom.c

View differences:

plugins/janus_videoroom.c
783 783
			janus_config_item *rec_dir = janus_config_get_item(cat, "rec_dir");
784 784
			/* Create the video room */
785 785
			janus_videoroom *videoroom = g_malloc0(sizeof(janus_videoroom));
786
			videoroom->room_id = atol(cat->name);
786
			videoroom->room_id = g_ascii_strtoull(cat->name, NULL, 0);
787 787
			char *description = NULL;
788 788
			if(desc != NULL && desc->value != NULL && strlen(desc->value) > 0)
789 789
				description = g_strdup(desc->value);

Also available in: Unified diff