diff --git a/app/httpclient.h b/app/httpclient.h index ffb3753..53775de 100644 --- a/app/httpclient.h +++ b/app/httpclient.h @@ -196,7 +196,7 @@ public: } return -1; } - void destory() + void destroy() { if(client!=NULL) { @@ -212,7 +212,7 @@ public: const httpclient &operator =(const httpclient &oths)=delete; virtual ~httpclient() { - destory(); + destroy(); } };