cvs commit: ALFS/halfling/src main.c

highos at linuxfromscratch.org highos at linuxfromscratch.org
Fri May 10 10:15:42 PDT 2002


highos      02/05/10 10:15:42

  Modified:    halfling/src main.c
  Log:
  *grumbles*  Never underestimate that eqaul sign *sigh*
  
  Revision  Changes    Path
  1.3       +1 -2      ALFS/halfling/src/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/halfling/src/main.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- main.c	9 May 2002 20:52:34 -0000	1.2
  +++ main.c	10 May 2002 17:15:42 -0000	1.3
  @@ -61,7 +61,7 @@
   
       cur = xmlDocGetRootElement(doc);
   
  -    if (cur = NULL) {
  +    if (cur == NULL) {
   	fprintf(stderr, "Empty root element.\n");
   	xmlFreeDoc(doc);
   	return (-1);
  @@ -85,7 +85,6 @@
   
   int main(int argc, char **argv) {
       int c;
  -
   
       while ((c = getopt_long(argc, argv, "hv", long_options, (int *)0)) != EOF) {
   	switch (c) {
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe alfs-discuss' in the subject header of the message



More information about the alfs-discuss mailing list