From e41da4322e9bfb557b474dd3a076966455ab7b08 Mon Sep 17 00:00:00 2001 From: gardners Date: Wed, 25 Apr 2012 06:16:55 +0930 Subject: [PATCH] added note to explain why packetSetSid() has no prototype (deprecated) --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index b709128d..9771a45a 100644 --- a/client.c +++ b/client.c @@ -451,6 +451,7 @@ int writeItem(char *sid,int var_id,int instance,unsigned char *value, /* Prepare the request packet to write the variable */ if (packetMakeHeader(packet,8000,&packet_len,NULL,CRYPT_SIGNED|CRYPT_CIPHERED)) return -1; bcopy(&packet[OFS_TRANSIDFIELD],transaction_id,TRANSID_SIZE); +#warning packetSetSid has been deprecated, which is why we have removed the prototype. if (packetSetSid(packet,8000,&packet_len,sid)) return -1; if (packetAddVariableWrite(packet,8000,&packet_len,var_id,instance, value,value_start,value_length,flags)) return -1;