X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fprotosetup.c;h=255b9120eb35f4517722dc48549ab6fdf1ed4c34;hb=HEAD;hp=2aab6d91521a0879beb881172bc59025eb9c7717;hpb=fb6a490bfa8d88706cac5ee7bafaadcb165d009b;p=framework%2Fuifw%2Fxorg%2Flib%2Flibice.git diff --git a/src/protosetup.c b/src/protosetup.c old mode 100755 new mode 100644 index 2aab6d9..255b912 --- a/src/protosetup.c +++ b/src/protosetup.c @@ -118,7 +118,7 @@ IceProtocolSetup ( _IceGetPoValidAuthIndices (myProtocol->protocol_name, iceConn->connection_string, myProtocol->orig_client->auth_count, - myProtocol->orig_client->auth_names, + (const char **) myProtocol->orig_client->auth_names, &authCount, authIndices); } @@ -229,7 +229,7 @@ IceProtocolSetup ( else /* reply.type == ICE_PROTOCOL_ERROR */ { /* Protocol Setup failed */ - + strncpy (errorStringRet, reply.protocol_error.error_message, errorLength); @@ -251,7 +251,7 @@ IceProtocolSetup ( *minorVersionRet = versionRec->minor_version; *vendorRet = reply.protocol_reply.vendor; *releaseRet = reply.protocol_reply.release; - + /* * Increase the reference count for the number of active protocols.