return -1;
}
} else {
- printf("Dont know how to handle discovery string : %s\n", hdr);
+ printf("Don't know how to handle discovery string : %s\n", hdr);
pdu->callback(iscsi, ISCSI_STATUS_ERROR, NULL, pdu->private_data);
iscsi_free_discovery_addresses(targets);
return -1;
* ISCSI_STATUS_ERROR : Either failed to establish the connection, or an already established connection
* has failed with an error.
*
- * The callback will NOT be invoked if the session is explicitely torn down through a call to
+ * The callback will NOT be invoked if the session is explicitly torn down through a call to
* iscsi_disconnect() or iscsi_destroy_context().
*/
int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data);
int status;
if (size < ISCSI_HEADER_SIZE) {
- printf("dont have enough data to read status from login reply\n");
+ printf("don't have enough data to read status from login reply\n");
return -1;
}
}
break;
default:
- printf("Dont know how to handle opcode %d\n", opcode);
+ printf("Don't know how to handle opcode %d\n", opcode);
return -2;
}