Browse Source

core: ut.h

Typo SHM_MEM_ERROR vs PKG_MEM_ERROR
Stefan Mititelu 9 năm trước cách đây
mục cha
commit
9949f42c9d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ut.h

+ 1 - 1
ut.h

@@ -771,7 +771,7 @@ static inline int pkg_str_dup(str* dst, const str* src)
 
 	dst->s = (char*)pkg_malloc(dst->len);
 	if (dst->s == NULL) {
-		SHM_MEM_ERROR;
+		PKG_MEM_ERROR;
 		return -1;
 	}