Any C devs catch a silly mistake here? Seems like it should work? https://stackoverflow.com/questions/45268988/return-a-struct-with-string-from-a-multi-threaded-rpc-server …
-
-
Replying to @schneems
What's up with the `.x` file? What's the C equivalent code? Are you sure you can use `strcopy` on to a `string` field like that?
2 replies 0 retweets 0 likes -
Replying to @sgrif
the `.x` is an XDR file. It's used to generate RPC code via `rpcgen -MN foo.x`. It will make foo_xdr.c, foo.h, foo_clnt.c, & foo_svc.c
2 replies 0 retweets 0 likes
Replying to @schneems
Do you have the equivalent C code for the struct definition of `foo`? That malloc almost certainly is the segfault cause
7:15 AM - 24 Jul 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.