X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fiscsi%2Fdiscovery.c;h=581084e994f7820b14c34eaeeb5258d0a19eb80d;hp=05250429b4e8e6e652ea02a51a9196ae0f52ce2a;hb=37e247dbcb57f4b2effd44b37b96dc679ee525d0;hpb=cb522f25cada0d3429c69d0fbaa5bd337a422cdd diff --git a/ccan/iscsi/discovery.c b/ccan/iscsi/discovery.c index 05250429..581084e9 100644 --- a/ccan/iscsi/discovery.c +++ b/ccan/iscsi/discovery.c @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2010 by Ronnie Sahlberg This program is free software; you can redistribute it and/or modify @@ -90,7 +90,7 @@ static void iscsi_free_discovery_addresses(struct iscsi_discovery_address *addre free(addresses); addresses = next; } -} +} int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size) { @@ -121,7 +121,7 @@ int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, pdu->callback(iscsi, ISCSI_STATUS_ERROR, NULL, pdu->private_data); iscsi_free_discovery_addresses(targets); return -1; - } + } /* parse the strings */ if (!strncmp((char *)hdr, "TargetName=", 11)) { @@ -155,7 +155,7 @@ int iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, 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;