if a mariner message is passed in without a vcache, print it as-is
Change-Id: I1791102826db3cde484e0809ba79d54f22220be1
Reviewed-on: http://gerrit.openafs.org/1504
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
strcpy(tp, astring);
tp += strlen(astring);
- *tp++ = ' ';
- tp1 = afs_GetMariner(avc);
- strcpy(tp, tp1);
- tp += strlen(tp1);
+ if (avc) {
+ *tp++ = ' ';
+ tp1 = afs_GetMariner(avc);
+ strcpy(tp, tp1);
+ tp += strlen(tp1);
+ }
*tp++ = '\n';
/* note, console doesn't want a terminating null */
/* I don't care if mariner packets fail to be sent */