Skip to content

Commit

Permalink
use nullptr instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v committed Apr 10, 2018
1 parent aace1a9 commit 139cab6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/ESP8266WiFi/src/include/ClientContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ClientContext
tcp_err(_pcb, NULL);
tcp_poll(_pcb, NULL, 0);
tcp_abort(_pcb);
_pcb = 0;
_pcb = nullptr;
}
return ERR_ABRT;
}
Expand All @@ -79,7 +79,7 @@ class ClientContext
tcp_abort(_pcb);
err = ERR_ABRT;
}
_pcb = 0;
_pcb = nullptr;
}
return err;
}
Expand Down Expand Up @@ -536,7 +536,7 @@ class ClientContext
tcp_sent(_pcb, NULL);
tcp_recv(_pcb, NULL);
tcp_err(_pcb, NULL);
_pcb = NULL;
_pcb = nullptr;
_notify_error();
}

Expand Down

0 comments on commit 139cab6

Please sign in to comment.