ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/gvpectrl.C
(Generate patch)

Comparing gvpe/src/gvpectrl.C (file contents):
Revision 1.11 by root, Tue Feb 15 13:31:23 2011 UTC vs.
Revision 1.12 by root, Sun Mar 6 13:49:50 2011 UTC

251 251
252 asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename); 252 asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename);
253 253
254 f = fopen (fname, "a"); 254 f = fopen (fname, "a");
255 255
256 if (!f) 256 /* some libcs are buggy and require an extra seek to the end */
257 if (!f || fseek (f, 0, SEEK_END))
257 { 258 {
258 perror (fname); 259 perror (fname);
259 exit (EXIT_FAILURE); 260 exit (EXIT_FAILURE);
260 } 261 }
261 262

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines