소스 검색

Fixed crash in msg_place() because I'm a moron.

default 1 년 전
부모
커밋
ef7c257c5c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -1187,7 +1187,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type)
 xs_dict *msg_place(snac *user, const char *label)
 xs_dict *msg_place(snac *user, const char *label)
 /* creates a Place object, if the user has a location defined */
 /* creates a Place object, if the user has a location defined */
 {
 {
-    xs *place = NULL;
+    xs_dict *place = NULL;
     const char *latitude = xs_dict_get_def(user->config, "latitude", "");
     const char *latitude = xs_dict_get_def(user->config, "latitude", "");
     const char *longitude = xs_dict_get_def(user->config, "longitude", "");
     const char *longitude = xs_dict_get_def(user->config, "longitude", "");