Skip to content

Display and control your Android device

Add warning in function documentation

Romain Vimont9b4360b6b8e1
diff --git a/app/src/adb_parser.h b/app/src/adb_parser.h
index 79f26631..ed7363d1 100644
--- a/app/src/adb_parser.h
+++ b/app/src/adb_parser.h
@@ -7,6 +7,8 @@
/**
* Parse the ip from the output of `adb shell ip route`
+ *
+ * Warning: this function modifies the buffer for optimization purposes.
*/
char *
sc_adb_parse_device_ip_from_output(char *buf, size_t buf_len);