]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.h
gui: Simplify handle_command() and avoid a buffer overflow.
[paraslash.git] / net.h
diff --git a/net.h b/net.h
index e9974d1c342316c4f6073b5f4afb8895143dc5d6..4eb79a82db9c303a7afd4c5e3ff13428ef79f0c0 100644 (file)
--- a/net.h
+++ b/net.h
@@ -152,4 +152,4 @@ int recv_pattern(int fd, const char *pattern, size_t bufsize);
  */
 /** Hardcoded maximum number of separate CCID modules compiled into a host */
 #define DCCP_MAX_HOST_CCIDS    20
-extern const uint8_t *dccp_available_ccids(uint8_t *ccids, uint8_t *nccids);
+extern int dccp_available_ccids(uint8_t **ccid_array);