/* IPAdressToString.c */
/**
* This code provides conversion between JAVA a C environments.
- * The C functions are calling here and results are send to JAVA
- * native functions. It uses the header pregenerated by JAVA
+ * The C functions are calling here and results are send to JAVA
+ * native functions. It uses the header pregenerated by JAVA
* (by command 'javah -jni class_with_native_function')
*
* @author Lukas Pokorny (lukas_pokorny@centrum.cz)
/* native function - prototype declared in pregenerated header */
JNIEXPORT jstring JNICALL
Java_org_ocera_orte_tools_JORTEConversions_IPAddressToString
-(JNIEnv *env, jclass class, jlong long_ipAddr)
+ (JNIEnv *env, jclass class, jlong long_ipAddr)
{
char buff[16];
IPAddress ip;
// conversion between data types
- ip = (IPAddress) long_ipAddr;
+ ip = (IPAddress)long_ipAddr;
// call the original liborte function
IPAddressToString(ip, buff);
// send the result to JAVA Environment