diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-25 12:53:31 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-25 12:53:31 -0400 |
commit | 8284c74513e1cf123bbca9af59548e724749fcdc (patch) | |
tree | 21a1eb27f8426c82b2a330022f4a7d9714a6caa9 /gpsdctl.c | |
parent | f42fe103f1b43435a295adb32716d0d222e9232e (diff) | |
download | gpsd-8284c74513e1cf123bbca9af59548e724749fcdc.tar.gz |
Document some obscurities. All regression tests pass.
Diffstat (limited to 'gpsdctl.c')
-rw-r--r-- | gpsdctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -88,6 +88,10 @@ static int gpsd_control(char *action, char *argument) * We've got a live connection to the gpsd control socket. No * need to parse the response, because gpsd will lock on to the * device if it's really a GPS and ignore it if it's not. + * + * The only other place in the code that knows about the format of + * these commands is the handle_control() function in gpsd.c. Be careful + * about keeping them in sync, or hotplugging will have nysterious failures. */ if (strcmp(action, "add") == 0) { /* |