]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/libjorte/JIPAddressToString.c
Reformat the sources with orte/uncrustify script
[orte.git] / orte / libjorte / JIPAddressToString.c
index ffc7c01a8a0e46e7524321d675e83efaa0a32776..1ef829c5ad49e14c57ad281380dada209d1513a7 100644 (file)
@@ -1,8 +1,8 @@
 /* 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