소스 검색

usrloc: rpc scan flags, cflags and methods fields as unsigned int

Daniel-Constantin Mierla 5 년 전
부모
커밋
2c622627ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/usrloc/ul_rpc.c

+ 1 - 1
src/modules/usrloc/ul_rpc.c

@@ -623,7 +623,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
 
 
 	memset(&ci, 0, sizeof(ucontact_info_t));
 	memset(&ci, 0, sizeof(ucontact_info_t));
 
 
-	ret = rpc->scan(ctx, "SSSdfSddd*SS", &table, &aor, &contact, &ci.expires,
+	ret = rpc->scan(ctx, "SSSdfSuuu*SS", &table, &aor, &contact, &ci.expires,
 			&dtemp, &path, &ci.flags, &ci.cflags, &ci.methods, &received,
 			&dtemp, &path, &ci.flags, &ci.cflags, &ci.methods, &received,
 			&socket);
 			&socket);
 	if (ret < 9) {
 	if (ret < 9) {