session client BUGFIX typo
@@ -1728,7 +1728,7 @@ nc_recv_notif_thread(void *arg)
break;
}
nc_notif_free(notif);
- } else if ((msgtype == NC_MSG_NOTIF) && (session->status != NC_STATUS_RUNNING)) {
+ } else if ((msgtype == NC_MSG_ERROR) && (session->status != NC_STATUS_RUNNING)) {
/* quit this thread once the session is broken */
break;
}
