Commits

Roger Light committed c31903d

Fix for building on Windows.

  • Participants
  • Parent commits ec3ac30
  • Branches 1.3

Comments (0)

Files changed (1)

 {
 	struct _mosquitto_packet *packet;
 	struct mosquitto_client_msg *msg, *next;
+	struct _clientid_index_hash *find_cih;
+
 	if(!context) return;
 
 	if(context->username){
 					   CONNECT and hence wouldn't have an id. */
 
 		// Remove the context's ID from the DB hash
-		struct _clientid_index_hash *find_cih;
 		HASH_FIND_STR(db->clientid_index_hash, context->id, find_cih);
 		if(find_cih){
 			// FIXME - internal level debug? _mosquitto_log_printf(NULL, MOSQ_LOG_INFO, "Found id for client \"%s\", their index was %d.", context->id, find_cih->db_context_index);